the output in stderr expects panic-unwind
This commit is contained in:
parent
8c3a94a1c7
commit
dadf3d2a97
@ -3,6 +3,7 @@
|
|||||||
//@ edition:2021
|
//@ edition:2021
|
||||||
//@ exec-env:RUST_BACKTRACE=0
|
//@ exec-env:RUST_BACKTRACE=0
|
||||||
//@ needs-threads
|
//@ needs-threads
|
||||||
|
//@ needs-unwind
|
||||||
use std::thread;
|
use std::thread;
|
||||||
const PANIC_MESSAGE: &str = "oops oh no woe is me";
|
const PANIC_MESSAGE: &str = "oops oh no woe is me";
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:10:5:
|
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:11:5:
|
||||||
oops oh no woe is me
|
oops oh no woe is me
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:10:5:
|
thread '<unnamed>' panicked at $DIR/synchronized-panic-handler.rs:11:5:
|
||||||
oops oh no woe is me
|
oops oh no woe is me
|
||||||
|
Loading…
Reference in New Issue
Block a user