From bf4d0adf2395a260b024586e105f2e109222201c Mon Sep 17 00:00:00 2001 From: Yuki OKUSHI Date: Tue, 30 Apr 2019 17:27:53 +0900 Subject: [PATCH] Rename to RUSTC_LOG --- src/bootstrap/native.rs | 2 +- src/librustc/infer/mod.rs | 2 +- src/librustc_driver/lib.rs | 2 +- src/test/run-make-fulldeps/libs-through-symlinks/Makefile | 2 +- src/test/run-pass/issues/issue-18075.rs | 2 +- src/test/run-pass/logging-only-prints-once.rs | 2 +- src/test/run-pass/logging_before_rt_started.rs | 2 +- src/test/run-pass/rustc-rust-log.rs | 2 +- src/test/run-pass/threads-sendsync/spawning-with-debug.rs | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/bootstrap/native.rs b/src/bootstrap/native.rs index 96aed729345..285f9458c44 100644 --- a/src/bootstrap/native.rs +++ b/src/bootstrap/native.rs @@ -436,7 +436,7 @@ fn configure_cmake(builder: &Builder<'_>, } if env::var_os("SCCACHE_ERROR_LOG").is_some() { - cfg.env("RUST_LOG", "sccache=warn"); + cfg.env("RUSTC_LOG", "sccache=warn"); } } diff --git a/src/librustc/infer/mod.rs b/src/librustc/infer/mod.rs index e9b80c56e0c..3e5d6247e2b 100644 --- a/src/librustc/infer/mod.rs +++ b/src/librustc/infer/mod.rs @@ -694,7 +694,7 @@ fn combine_fields( /// potentially leaving "dangling type variables" behind. /// In such cases, an assertion will fail when attempting to /// register obligations, within a snapshot. Very useful, much - /// better than grovelling through megabytes of `RUST_LOG` output. + /// better than grovelling through megabytes of `RUSTC_LOG` output. /// /// HOWEVER, in some cases the flag is unhelpful. In particular, we /// sometimes create a "mini-fulfilment-cx" in which we enroll diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index 6a5accc8d7f..5b42b049b5b 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -1163,7 +1163,7 @@ pub fn report_ices_to_stderr_if_any R, R>(f: F) -> Result