From b9faeb172a6334c0db042181ce467c8ec859a1c3 Mon Sep 17 00:00:00 2001 From: a-wing <1@233.email> Date: Tue, 19 Nov 2024 23:02:09 +0800 Subject: [PATCH] fix grcov --- .github/workflows/grcov.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/grcov.yml b/.github/workflows/grcov.yml index 4d7bca5e2..1212605fc 100644 --- a/.github/workflows/grcov.yml +++ b/.github/workflows/grcov.yml @@ -50,8 +50,7 @@ jobs: args: --all --no-fail-fast ${{ matrix.cargo_flags }} env: CARGO_INCREMENTAL: "0" - RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off' - RUSTDOCFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off' + RUSTDOCFLAGS: '-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort -Cdebug-assertions=off -Cprofile-generate=target/debug' - name: Generate coverage data id: grcov