Fix test for non-prefer-dynamic target

This commit is contained in:
Gary Guo 2022-06-28 17:18:01 +01:00
parent ce774e3778
commit 49e6b7986a
2 changed files with 2 additions and 3 deletions

View file

@ -2,6 +2,7 @@
// error-pattern:is incompatible with this crate's strategy of `abort`
// aux-build:needs-unwind.rs
// compile-flags:-C panic=abort
// no-prefer-dynamic
extern crate needs_unwind;

View file

@ -1,6 +1,4 @@
error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`
error: the crate `needs_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`
error: aborting due to 2 previous errors
error: aborting due to previous error