ci: set rustflags for cargo-tarpaulin build linking

This commit is contained in:
2025-07-28 17:32:53 -05:00
parent d18b414536
commit 7ec5b3a3cd

View File

@@ -44,7 +44,12 @@ jobs:
run: cargo install cargo-tarpaulin
- name: Generate coverage report
run: cargo tarpaulin --out Html --output-dir coverage
run: |
cargo tarpaulin \
--out Html \
--output-dir coverage \
# Manually link zlib. This should be synchronized with the flags set for Linux in .cargo/config.toml.
--rustflags="-C link-arg=-lz"
- name: Upload coverage to Coveralls
uses: coverallsapp/github-action@v2