Skip to content

Commit f0be698

Browse files
committed
Use "-C panic=abort" instead of "-Zno-landing-pads"
Needed because rust removed support for "-Zno-landing-pads": rust-lang/rust@bf45975 This caused our Code Coverage build to fail: https://travis-ci.com/github/newsboat/newsboat/jobs/326201747#L651-L656 Also adding "-Zpanic_abort_tests" to allow `panic=abort` in libtest: rust-lang/rust#64158
1 parent 8a67e53 commit f0be698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ matrix:
106106

107107
# Can't have these in the `env` section above, because these settings break `cargo install`
108108
- export CARGO_INCREMENTAL=0
109-
- export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Zno-landing-pads"
109+
- export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests"
110110
- name: "i18nspector"
111111
addons:
112112
apt:

0 commit comments

Comments
 (0)