05bb560de2
This allows the normal std panic hook to print a backtrace if `RUST_BACKTRACE=1` and `-Z miri-disable-isolation` are set
13 lines
527 B
Plaintext
13 lines
527 B
Plaintext
warning: thread support is experimental. For example, Miri does not detect data races yet.
|
|
|
|
Thread 1 starting, will block on mutex
|
|
Thread 1 reported it has started
|
|
thread '<unnamed>' panicked at 'panic in thread 2', $DIR/concurrent-panic.rs:65:13
|
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
|
Thread 2 blocking on thread 1
|
|
Thread 2 reported it has started
|
|
Unlocking mutex
|
|
thread '<unnamed>' panicked at 'panic in thread 1', $DIR/concurrent-panic.rs:42:13
|
|
Thread 1 has exited
|
|
Thread 2 has exited
|