Skip to content

Commit 49e6b79

Browse files
committed
Fix test for non-prefer-dynamic target
1 parent ce774e3 commit 49e6b79

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/test/ui/panic-runtime/need-unwind-got-abort.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// error-pattern:is incompatible with this crate's strategy of `abort`
33
// aux-build:needs-unwind.rs
44
// compile-flags:-C panic=abort
5+
// no-prefer-dynamic
56

67
extern crate needs_unwind;
78

Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
error: the linked panic runtime `panic_unwind` is not compiled with this crate's panic strategy `abort`
2-
31
error: the crate `needs_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`
42

5-
error: aborting due to 2 previous errors
3+
error: aborting due to previous error
64

0 commit comments

Comments
 (0)