1
Fork 0

panicking: improve hint for Miri's RUST_BACKTRACE behavior

This commit is contained in:
Ralf Jung 2024-08-24 09:46:46 +02:00
parent 0f6e1ae678
commit ec0e16a665
34 changed files with 34 additions and 34 deletions

View file

@ -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"
);
}