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) {
|
||||
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"
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue