panicking: improve hint for Miri's RUST_BACKTRACE behavior
This commit is contained in:
parent
0f6e1ae678
commit
ec0e16a665
34 changed files with 34 additions and 34 deletions
|
@ -275,7 +275,7 @@ fn default_hook(info: &PanicHookInfo<'_>) {
|
||||||
if cfg!(miri) {
|
if cfg!(miri) {
|
||||||
let _ = writeln!(
|
let _ = writeln!(
|
||||||
err,
|
err,
|
||||||
"note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` \
|
"note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` \
|
||||||
for the environment variable to have an effect"
|
for the environment variable to have an effect"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/exported_symbol_bad_unwind1.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_bad_unwind1.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
|
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
|
||||||
--> $DIR/exported_symbol_bad_unwind1.rs:LL:CC
|
--> $DIR/exported_symbol_bad_unwind1.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
||||||
panic in a function that cannot unwind
|
panic in a function that cannot unwind
|
||||||
stack backtrace:
|
stack backtrace:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
||||||
panic in a function that cannot unwind
|
panic in a function that cannot unwind
|
||||||
stack backtrace:
|
stack backtrace:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
|
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
|
||||||
--> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
|
--> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/return_pointer_on_unwind.rs:LL:CC:
|
thread 'main' panicked at $DIR/return_pointer_on_unwind.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: Undefined Behavior: using uninitialized data, but this operation requires initialized memory
|
error: Undefined Behavior: using uninitialized data, but this operation requires initialized memory
|
||||||
--> $DIR/return_pointer_on_unwind.rs:LL:CC
|
--> $DIR/return_pointer_on_unwind.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
||||||
aborted execution: attempted to instantiate uninhabited type `!`
|
aborted execution: attempted to instantiate uninhabited type `!`
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread caused non-unwinding panic. aborting.
|
thread caused non-unwinding panic. aborting.
|
||||||
error: abnormal termination: the program aborted execution
|
error: abnormal termination: the program aborted execution
|
||||||
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
|
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
||||||
aborted execution: attempted to zero-initialize type `fn()`, which is invalid
|
aborted execution: attempted to zero-initialize type `fn()`, which is invalid
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread caused non-unwinding panic. aborting.
|
thread caused non-unwinding panic. aborting.
|
||||||
error: abnormal termination: the program aborted execution
|
error: abnormal termination: the program aborted execution
|
||||||
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
|
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/bad_unwind.rs:LL:CC:
|
thread 'main' panicked at $DIR/bad_unwind.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
|
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
|
||||||
--> $DIR/bad_unwind.rs:LL:CC
|
--> $DIR/bad_unwind.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
|
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
|
||||||
first
|
first
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
|
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
|
||||||
second
|
second
|
||||||
stack backtrace:
|
stack backtrace:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/panic_abort1.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic_abort1.rs:LL:CC:
|
||||||
panicking from libstd
|
panicking from libstd
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: abnormal termination: the program aborted execution
|
error: abnormal termination: the program aborted execution
|
||||||
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/panic_abort2.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic_abort2.rs:LL:CC:
|
||||||
42-panicking from libstd
|
42-panicking from libstd
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: abnormal termination: the program aborted execution
|
error: abnormal termination: the program aborted execution
|
||||||
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/panic_abort3.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic_abort3.rs:LL:CC:
|
||||||
panicking from libcore
|
panicking from libcore
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: abnormal termination: the program aborted execution
|
error: abnormal termination: the program aborted execution
|
||||||
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/panic_abort4.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic_abort4.rs:LL:CC:
|
||||||
42-panicking from libcore
|
42-panicking from libcore
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
error: abnormal termination: the program aborted execution
|
error: abnormal termination: the program aborted execution
|
||||||
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
|
||||||
|
|
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ warning: You have explicitly enabled MIR optimizations, overriding Miri's defaul
|
||||||
thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
|
thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
||||||
panic in a function that cannot unwind
|
panic in a function that cannot unwind
|
||||||
stack backtrace:
|
stack backtrace:
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/unwind-action-terminate.rs:LL:CC:
|
thread 'main' panicked at $DIR/unwind-action-terminate.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
|
||||||
panic in a function that cannot unwind
|
panic in a function that cannot unwind
|
||||||
stack backtrace:
|
stack backtrace:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
thread 'main' panicked at $DIR/alloc_error_handler_hook.rs:LL:CC:
|
thread 'main' panicked at $DIR/alloc_error_handler_hook.rs:LL:CC:
|
||||||
alloc error hook called
|
alloc error hook called
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
yes we are unwinding!
|
yes we are unwinding!
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
thread 'main' panicked at RUSTLIB/std/src/alloc.rs:LL:CC:
|
thread 'main' panicked at RUSTLIB/std/src/alloc.rs:LL:CC:
|
||||||
memory allocation of 4 bytes failed
|
memory allocation of 4 bytes failed
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
yes we are unwinding!
|
yes we are unwinding!
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/div-by-zero-2.rs:LL:CC:
|
thread 'main' panicked at $DIR/div-by-zero-2.rs:LL:CC:
|
||||||
attempt to divide by zero
|
attempt to divide by zero
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
|
||||||
explicit panic
|
explicit panic
|
||||||
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
|
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/oob_subslice.rs:LL:CC:
|
thread 'main' panicked at $DIR/oob_subslice.rs:LL:CC:
|
||||||
range end index 5 out of range for slice of length 4
|
range end index 5 out of range for slice of length 4
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/overflowing-lsh-neg.rs:LL:CC:
|
thread 'main' panicked at $DIR/overflowing-lsh-neg.rs:LL:CC:
|
||||||
attempt to shift left with overflow
|
attempt to shift left with overflow
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/overflowing-rsh-1.rs:LL:CC:
|
thread 'main' panicked at $DIR/overflowing-rsh-1.rs:LL:CC:
|
||||||
attempt to shift right with overflow
|
attempt to shift right with overflow
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/overflowing-rsh-2.rs:LL:CC:
|
thread 'main' panicked at $DIR/overflowing-rsh-2.rs:LL:CC:
|
||||||
attempt to shift right with overflow
|
attempt to shift right with overflow
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/panic2.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic2.rs:LL:CC:
|
||||||
42-panicking from libstd
|
42-panicking from libstd
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/panic3.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic3.rs:LL:CC:
|
||||||
panicking from libcore
|
panicking from libcore
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/panic4.rs:LL:CC:
|
thread 'main' panicked at $DIR/panic4.rs:LL:CC:
|
||||||
42-panicking from libcore
|
42-panicking from libcore
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/transmute_fat2.rs:LL:CC:
|
thread 'main' panicked at $DIR/transmute_fat2.rs:LL:CC:
|
||||||
index out of bounds: the len is 0 but the index is 0
|
index out of bounds: the len is 0 but the index is 0
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/unsupported_foreign_function.rs:LL:CC:
|
thread 'main' panicked at $DIR/unsupported_foreign_function.rs:LL:CC:
|
||||||
unsupported Miri functionality: can't call foreign function `foo` on $OS
|
unsupported Miri functionality: can't call foreign function `foo` on $OS
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
thread 'main' panicked at $DIR/unsupported_syscall.rs:LL:CC:
|
thread 'main' panicked at $DIR/unsupported_syscall.rs:LL:CC:
|
||||||
unsupported Miri functionality: can't execute syscall with ID 0
|
unsupported Miri functionality: can't execute syscall with ID 0
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
|
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
|
||||||
Hello from std::panic
|
Hello from std::panic
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
Caught panic message (&str): Hello from std::panic
|
Caught panic message (&str): Hello from std::panic
|
||||||
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
|
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
|
||||||
Hello from std::panic: 1
|
Hello from std::panic: 1
|
||||||
|
|
|
@ -3,7 +3,7 @@ Thread 1 reported it has started
|
||||||
thread '<unnamed>' panicked at $DIR/concurrent-panic.rs:LL:CC:
|
thread '<unnamed>' panicked at $DIR/concurrent-panic.rs:LL:CC:
|
||||||
panic in thread 2
|
panic in thread 2
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
Thread 2 blocking on thread 1
|
Thread 2 blocking on thread 1
|
||||||
Thread 2 reported it has started
|
Thread 2 reported it has started
|
||||||
Unlocking mutex
|
Unlocking mutex
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
|
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
|
||||||
once
|
once
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
|
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
|
||||||
twice
|
twice
|
||||||
stack backtrace:
|
stack backtrace:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
thread '<unnamed>' panicked at $DIR/thread_panic.rs:LL:CC:
|
thread '<unnamed>' panicked at $DIR/thread_panic.rs:LL:CC:
|
||||||
Hello!
|
Hello!
|
||||||
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
|
||||||
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
|
||||||
thread 'childthread' panicked at $DIR/thread_panic.rs:LL:CC:
|
thread 'childthread' panicked at $DIR/thread_panic.rs:LL:CC:
|
||||||
Hello, world!
|
Hello, world!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue