Skip to content

Commit

Permalink
Update compile flags for new rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
chaaz committed May 29, 2020
1 parent 8b67bee commit 1dfef6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustcov
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# etc. files for some reason, you should at least include
# `/target/coverage`
#
# first:
# first (MacOS):
# ```
# rustup toolchain install nightly # for -Zprofile
# cargo install grcov
Expand All @@ -49,7 +49,7 @@ else
fi

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

# Painful, but we need a complete build to coverage check.
cargo clean
Expand Down

0 comments on commit 1dfef6c

Please sign in to comment.