From 2361ad801c854c850c9ea47a89eee492a0315019 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 29 Oct 2023 23:46:37 +0700 Subject: [PATCH] ci: Use `-C` rather than `-Z` for instrument-coverage. Using `-C` was stabilized in Rust 1.60. --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9d160593..d5b872a0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -49,7 +49,7 @@ jobs: - name: Run tests run: cargo test --all-features --no-fail-fast env: - RUSTFLAGS: '-Zinstrument-coverage' + RUSTFLAGS: '-Cinstrument-coverage' - name: Run grcov if: matrix.rust-version == 'nightly' && matrix.cargo-args == '--all-features' # Important! Keep in grcov flags in sync with Makefile.internal.toml.