Skip to content

Commit 1dfef6c

Browse files
committed
Update compile flags for new rustc
See rust-lang/rust#70175
1 parent 8b67bee commit 1dfef6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rustcov

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# etc. files for some reason, you should at least include
2424
# `/target/coverage`
2525
#
26-
# first:
26+
# first (MacOS):
2727
# ```
2828
# rustup toolchain install nightly # for -Zprofile
2929
# cargo install grcov
@@ -49,7 +49,7 @@ else
4949
fi
5050

5151
export CARGO_INCREMENTAL=0
52-
export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads"
52+
export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
5353

5454
# Painful, but we need a complete build to coverage check.
5555
cargo clean

0 commit comments

Comments
 (0)