mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03: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`
|