diff options
| author | bors <bors@rust-lang.org> | 2024-08-25 08:12:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-08-25 08:12:16 +0000 |
| commit | 717aec0f8eebdc5eb51756e5129dde15e8b25710 (patch) | |
| tree | 1b6387c8512783fda7b7810ce7bd7091aa0ff7ea /library/std | |
| parent | 697d9530d78aeba31458cadfc338adb2aea90bee (diff) | |
| parent | e664ff5d8cdc8672955475c47b049a2844950167 (diff) | |
| download | rust-717aec0f8eebdc5eb51756e5129dde15e8b25710.tar.gz rust-717aec0f8eebdc5eb51756e5129dde15e8b25710.zip | |
Auto merge of #129521 - matthiaskrgr:rollup-uigv77m, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #128596 (stabilize const_fn_floating_point_arithmetic) - #129199 (make writes_through_immutable_pointer a hard error) - #129246 (Retroactively feature gate `ConstArgKind::Path`) - #129290 (Pin `cc` to 1.0.105) - #129323 (Implement `ptr::fn_addr_eq`) - #129500 (remove invalid `TyCompat` relation for effects) - #129501 (panicking: improve hint for Miri's RUST_BACKTRACE behavior) - #129505 (interpret: ImmTy: tighten sanity checks in offset logic) - #129510 (Fix `elided_named_lifetimes` in code) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/std')
| -rw-r--r-- | library/std/src/panicking.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/panicking.rs b/library/std/src/panicking.rs index e818b448270..190eed94555 100644 --- a/library/std/src/panicking.rs +++ b/library/std/src/panicking.rs @@ -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" ); } |
