File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- 5aa3d9a7b5d3a46a7f158e8881146331a6bc9243
1+ 00ee1b47f42129a0a6e33510578fbcf07c1e5382
Original file line number Diff line number Diff line change @@ -92,11 +92,11 @@ fn init_late_loggers() {
9292 }
9393 }
9494
95- // If `MIRI_BACKTRACE` is set and `RUST_CTFE_BACKTRACE ` is not, set `RUST_CTFE_BACKTRACE `.
96- // Do this late, so we really only apply this to miri 's errors.
95+ // If `MIRI_BACKTRACE` is set and `RUSTC_CTFE_BACKTRACE ` is not, set `RUSTC_CTFE_BACKTRACE `.
96+ // Do this late, so we ideally only apply this to Miri 's errors.
9797 if let Ok ( var) = env:: var ( "MIRI_BACKTRACE" ) {
98- if env:: var ( "RUST_CTFE_BACKTRACE " ) == Err ( env:: VarError :: NotPresent ) {
99- env:: set_var ( "RUST_CTFE_BACKTRACE " , & var) ;
98+ if env:: var ( "RUSTC_CTFE_BACKTRACE " ) == Err ( env:: VarError :: NotPresent ) {
99+ env:: set_var ( "RUSTC_CTFE_BACKTRACE " , & var) ;
100100 }
101101 }
102102}
You can’t perform that action at this time.
0 commit comments