mirror of https://github.com/rust-lang/rust
16 lines
458 B
Rust
16 lines
458 B
Rust
//@ build-fail
|
|
//@ needs-unwind
|
|
//@ aux-build:panic-runtime-unwind.rs
|
|
//@ aux-build:panic-runtime-abort.rs
|
|
//@ aux-build:wants-panic-runtime-unwind.rs
|
|
//@ aux-build:wants-panic-runtime-abort.rs
|
|
//@ aux-build:panic-runtime-lang-items.rs
|
|
//@ error-pattern: is not compiled with this crate's panic strategy `unwind`
|
|
|
|
#![no_std]
|
|
#![no_main]
|
|
|
|
extern crate wants_panic_runtime_unwind;
|
|
extern crate wants_panic_runtime_abort;
|
|
extern crate panic_runtime_lang_items;
|