about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-08-11 15:18:43 -0400
committerGitHub <noreply@github.com>2019-08-11 15:18:43 -0400
commit8122a01b27cf8e0646696ff72d8dbc3321b2016e (patch)
treed8b02ded0eeebf748350d927d006e2c753107f49 /src
parent24a83374b62c601e6f7f0a8c9c4c1027b559abc7 (diff)
parent440a5c810029088649918d738169f8e0bb65bb35 (diff)
downloadrust-8122a01b27cf8e0646696ff72d8dbc3321b2016e.tar.gz
rust-8122a01b27cf8e0646696ff72d8dbc3321b2016e.zip
Rollup merge of #63440 - RalfJung:ctfe-backtrace, r=oli-obk
rename RUST_CTFE_BACKTRACE to RUSTC_CTFE_BACKTRACE

This matches `RUSTC_LOG`. Both affect only rustc, not any Rust program.
Diffstat (limited to 'src')
-rw-r--r--src/librustc/mir/interpret/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/interpret/error.rs b/src/librustc/mir/interpret/error.rs
index f53d2ffb6df..ef0e2051848 100644
--- a/src/librustc/mir/interpret/error.rs
+++ b/src/librustc/mir/interpret/error.rs
@@ -217,7 +217,7 @@ fn print_backtrace(backtrace: &mut Backtrace) {
 
 impl<'tcx> From<InterpError<'tcx>> for InterpErrorInfo<'tcx> {
     fn from(kind: InterpError<'tcx>) -> Self {
-        let backtrace = match env::var("RUST_CTFE_BACKTRACE") {
+        let backtrace = match env::var("RUSTC_CTFE_BACKTRACE") {
             // Matching `RUST_BACKTRACE` -- we treat "0" the same as "not present".
             Ok(ref val) if val != "0" => {
                 let mut backtrace = Backtrace::new_unresolved();