Skip to content

Commit 7654ac6

Browse files
committed
Auto merge of #904 - RalfJung:rustup, r=RalfJung
it's called RUSTC_CTFE_BACKTRACE now
2 parents a5eb61a + 7a97339 commit 7654ac6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5aa3d9a7b5d3a46a7f158e8881146331a6bc9243
1+
00ee1b47f42129a0a6e33510578fbcf07c1e5382

src/bin/miri.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)