Skip to content

Commit 8aef587

Browse files
committed
ci: add recommended RUSTFLAGS and RUSTDOCFLAGS for grcov
1 parent d4ff370 commit 8aef587

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/linux.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ jobs:
119119
args: --locked --all --all-features --no-fail-fast -- --nocapture
120120
env:
121121
CARGO_INCREMENTAL: '0'
122-
RUSTFLAGS: '-Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
122+
RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort'
123+
RUSTDOCFLAGS: '-Cpanic=abort'
123124
- id: coverage
124125
if: matrix.name == 'nightly'
125126
uses: actions-rs/grcov@master

0 commit comments

Comments
 (0)