Skip to content

Commit

Permalink
panicking: improve hint for Miri's RUST_BACKTRACE behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 24, 2024
1 parent 0f6e1ae commit a07cb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/std/src/panicking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ fn default_hook(info: &PanicHookInfo<'_>) {
if cfg!(miri) {
let _ = writeln!(
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"
);
}
Expand Down

0 comments on commit a07cb9c

Please sign in to comment.