b06d99b8a0
We are currently building `libpanic_abort` with the wrong panic strategy, due to Xargo missing a hack used by `bootstrap`.
8 lines
198 B
Rust
8 lines
198 B
Rust
// ignore-test: Abort panics are not yet supported
|
|
//error-pattern: the evaluated program panicked
|
|
// compile-flags: -C panic=abort
|
|
|
|
fn main() {
|
|
core::panic!("{}-panicking from libcore", 42);
|
|
}
|