mirror of
https://github.com/rust-lang/rust.git
synced 2025-09-30 08:16:56 +00:00
11 lines
272 B
Rust
11 lines
272 B
Rust
//@ build-fail
|
|
//@ aux-build:needs-unwind.rs
|
|
//@ compile-flags:-C panic=abort
|
|
//@ no-prefer-dynamic
|
|
|
|
extern crate needs_unwind;
|
|
|
|
fn main() {}
|
|
|
|
//~? ERROR the crate `needs_unwind` requires panic strategy `unwind` which is incompatible with this crate's strategy of `abort`
|