Fix test for non-prefer-dynamic target
This commit is contained in:
parent
ce774e3778
commit
49e6b7986a
2 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue