mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
16 lines
450 B
Rust
16 lines
450 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;
|