Skip to content

Commit

Permalink
ci: Use -Cpanic=abort instead of -Zno-landing-pads
Browse files Browse the repository at this point in the history
`no-landing-pads` was removed from rust nightly.

mozilla/grcov#427 and
rust-lang/rust#70175
  • Loading branch information
mklein994 committed May 9, 2020
1 parent cd295d2 commit 9111213
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ matrix:
rust: nightly
script:
- export CARGO_INCREMENTAL=0
- export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads"
- export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort"
- export RUSTDOCFLAGS="-Cpanic=abort"
- cargo build --verbose
- cargo test --verbose
- |
Expand Down

0 comments on commit 9111213

Please sign in to comment.