Skip to content

Commit 5611b37

Browse files
authored
Rollup merge of rust-lang#129501 - RalfJung:miri-rust-backtrace, r=Noratrieb
panicking: improve hint for Miri's RUST_BACKTRACE behavior Should help with rust-lang/miri#3838
2 parents 3f5d6b2 + ec0e16a commit 5611b37

34 files changed

+34
-34
lines changed

Diff for: library/std/src/panicking.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ fn default_hook(info: &PanicHookInfo<'_>) {
275275
if cfg!(miri) {
276276
let _ = writeln!(
277277
err,
278-
"note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` \
278+
"note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` \
279279
for the environment variable to have an effect"
280280
);
281281
}

Diff for: src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind1.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
66
--> $DIR/exported_symbol_bad_unwind1.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.both.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
66
panic in a function that cannot unwind
77
stack backtrace:

Diff for: src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.definition.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
66
panic in a function that cannot unwind
77
stack backtrace:

Diff for: src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.extern_block.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_bad_unwind2.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
66
--> $DIR/exported_symbol_bad_unwind2.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/function_calls/return_pointer_on_unwind.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/return_pointer_on_unwind.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: Undefined Behavior: using uninitialized data, but this operation requires initialized memory
66
--> $DIR/return_pointer_on_unwind.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/intrinsics/uninit_uninhabited_type.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
22
aborted execution: attempted to instantiate uninhabited type `!`
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread caused non-unwinding panic. aborting.
66
error: abnormal termination: the program aborted execution
77
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC

Diff for: src/tools/miri/tests/fail/intrinsics/zero_fn_ptr.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
22
aborted execution: attempted to zero-initialize type `fn()`, which is invalid
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread caused non-unwinding panic. aborting.
66
error: abnormal termination: the program aborted execution
77
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC

Diff for: src/tools/miri/tests/fail/panic/bad_unwind.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/bad_unwind.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: Undefined Behavior: unwinding past a stack frame that does not allow unwinding
66
--> $DIR/bad_unwind.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/panic/double_panic.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
22
first
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'main' panicked at $DIR/double_panic.rs:LL:CC:
66
second
77
stack backtrace:

Diff for: src/tools/miri/tests/fail/panic/panic_abort1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort1.rs:LL:CC:
22
panicking from libstd
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: abnormal termination: the program aborted execution
66
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/panic/panic_abort2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort2.rs:LL:CC:
22
42-panicking from libstd
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: abnormal termination: the program aborted execution
66
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/panic/panic_abort3.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort3.rs:LL:CC:
22
panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: abnormal termination: the program aborted execution
66
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/panic/panic_abort4.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/panic_abort4.rs:LL:CC:
22
42-panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
error: abnormal termination: the program aborted execution
66
--> RUSTLIB/panic_abort/src/lib.rs:LL:CC
77
|

Diff for: src/tools/miri/tests/fail/terminate-terminator.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ warning: You have explicitly enabled MIR optimizations, overriding Miri's defaul
33
thread 'main' panicked at $DIR/terminate-terminator.rs:LL:CC:
44
explicit panic
55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
6+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
77
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
88
panic in a function that cannot unwind
99
stack backtrace:

Diff for: src/tools/miri/tests/fail/unwind-action-terminate.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/unwind-action-terminate.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
66
panic in a function that cannot unwind
77
stack backtrace:
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
thread 'main' panicked at $DIR/alloc_error_handler_hook.rs:LL:CC:
22
alloc error hook called
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
yes we are unwinding!
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
thread 'main' panicked at RUSTLIB/std/src/alloc.rs:LL:CC:
22
memory allocation of 4 bytes failed
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
yes we are unwinding!

Diff for: src/tools/miri/tests/panic/div-by-zero-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/div-by-zero-2.rs:LL:CC:
22
attempt to divide by zero
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/function_calls/exported_symbol_good_unwind.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
22
explicit panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:
66
explicit panic
77
thread 'main' panicked at $DIR/exported_symbol_good_unwind.rs:LL:CC:

Diff for: src/tools/miri/tests/panic/oob_subslice.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/oob_subslice.rs:LL:CC:
22
range end index 5 out of range for slice of length 4
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/overflowing-lsh-neg.rs:LL:CC:
22
attempt to shift left with overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/overflowing-rsh-1.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/overflowing-rsh-1.rs:LL:CC:
22
attempt to shift right with overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/overflowing-rsh-2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/overflowing-rsh-2.rs:LL:CC:
22
attempt to shift right with overflow
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/panic2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/panic2.rs:LL:CC:
22
42-panicking from libstd
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/panic3.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/panic3.rs:LL:CC:
22
panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/panic4.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/panic4.rs:LL:CC:
22
42-panicking from libcore
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/panic/transmute_fat2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/transmute_fat2.rs:LL:CC:
22
index out of bounds: the len is 0 but the index is 0
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/unsupported_foreign_function.rs:LL:CC:
22
unsupported Miri functionality: can't call foreign function `foo` on $OS
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
thread 'main' panicked at $DIR/unsupported_syscall.rs:LL:CC:
22
unsupported Miri functionality: can't execute syscall with ID 0
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect

Diff for: src/tools/miri/tests/pass/panic/catch_panic.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
22
Hello from std::panic
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
Caught panic message (&str): Hello from std::panic
66
thread 'main' panicked at $DIR/catch_panic.rs:LL:CC:
77
Hello from std::panic: 1

Diff for: src/tools/miri/tests/pass/panic/concurrent-panic.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Thread 1 reported it has started
33
thread '<unnamed>' panicked at $DIR/concurrent-panic.rs:LL:CC:
44
panic in thread 2
55
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
6-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
6+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
77
Thread 2 blocking on thread 1
88
Thread 2 reported it has started
99
Unlocking mutex
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
22
once
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'main' panicked at $DIR/nested_panic_caught.rs:LL:CC:
66
twice
77
stack backtrace:

Diff for: src/tools/miri/tests/pass/panic/thread_panic.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
thread '<unnamed>' panicked at $DIR/thread_panic.rs:LL:CC:
22
Hello!
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
4-
note: in Miri, you may have to set `-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
4+
note: in Miri, you may have to set `MIRIFLAGS=-Zmiri-env-forward=RUST_BACKTRACE` for the environment variable to have an effect
55
thread 'childthread' panicked at $DIR/thread_panic.rs:LL:CC:
66
Hello, world!

0 commit comments

Comments
 (0)