File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1
1
// ignore-tidy-linelength
2
2
//@ build-fail
3
- //@ dont-require-annotations: ERROR
4
3
//@ dont-check-compiler-stderr
5
4
//@ aux-build:panic-runtime-unwind.rs
6
5
//@ aux-build:panic-runtime-unwind2.rs
7
6
//@ aux-build:panic-runtime-lang-items.rs
7
+ //@ compile-flags: -Cpanic=unwind
8
8
9
9
#![ no_std]
10
10
#![ no_main]
@@ -16,7 +16,3 @@ extern crate panic_runtime_lang_items;
16
16
fn main ( ) { }
17
17
18
18
//~? ERROR cannot link together two panic runtimes: panic_runtime_unwind and panic_runtime_unwind2
19
- // FIXME: These errors are target-dependent, could be served by some "optional error" annotation
20
- // instead of `dont-require-annotations`.
21
- //FIXME~? ERROR the linked panic runtime `panic_runtime_unwind2` is not compiled with this crate's panic strategy `abort`
22
- //FIXME~? ERROR the crate `panic_runtime_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`
You can’t perform that action at this time.
0 commit comments