blob: 2609545336c3234d42e4387b7762335533806586 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@ build-fail
//@ needs-unwind
//@ aux-build:panic-runtime-abort.rs
//@ aux-build:wants-panic-runtime-abort.rs
//@ aux-build:panic-runtime-lang-items.rs
#![no_std]
#![no_main]
extern crate wants_panic_runtime_abort;
extern crate panic_runtime_lang_items;
//~? ERROR the linked panic runtime `panic_runtime_abort` is not compiled with this crate's panic strategy `unwind`
//~? ERROR the crate `wants_panic_runtime_abort` requires panic strategy `abort` which is incompatible with this crate's strategy of `unwind`
|