05bb560de2
This allows the normal std panic hook to print a backtrace if `RUST_BACKTRACE=1` and `-Z miri-disable-isolation` are set
24 lines
850 B
Plaintext
24 lines
850 B
Plaintext
thread 'main' panicked at 'panicking from libstd', $DIR/panic1.rs:8:5
|
|
stack backtrace:
|
|
0: std::rt::begin_panic
|
|
RUSTLIB/std/src/panicking.rs:505:12
|
|
1: main
|
|
at $DIR/panic1.rs:8:5
|
|
2: <fn() as std::ops::FnOnce<()>>::call_once - shim(fn())
|
|
RUSTLIB/core/src/ops/function.rs:227:5
|
|
3: std::rt::lang_start::{closure#0}
|
|
RUSTLIB/std/src/rt.rs:66:18
|
|
4: std::ops::function::impls::call_once
|
|
RUSTLIB/core/src/ops/function.rs:259:13
|
|
5: std::panicking::r#try::do_call
|
|
RUSTLIB/std/src/panicking.rs:381:40
|
|
6: std::panicking::r#try
|
|
RUSTLIB/std/src/panicking.rs:345:19
|
|
7: std::panic::catch_unwind
|
|
RUSTLIB/std/src/panic.rs:382:14
|
|
8: std::rt::lang_start_internal
|
|
RUSTLIB/std/src/rt.rs:51:25
|
|
9: std::rt::lang_start
|
|
RUSTLIB/std/src/rt.rs:65:5
|
|
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
|