diff options
| author | Yuki OKUSHI <huyuumi.dev@gmail.com> | 2019-04-30 17:27:53 +0900 |
|---|---|---|
| committer | Yuki OKUSHI <huyuumi.dev@gmail.com> | 2019-04-30 17:27:53 +0900 |
| commit | bf4d0adf2395a260b024586e105f2e109222201c (patch) | |
| tree | 2d89d55cf6c68b2216dd90ee68b8b280b22631d2 /src/librustc_driver/lib.rs | |
| parent | 03122e1bac482b150844ef9664b1ad2438b43072 (diff) | |
| download | rust-bf4d0adf2395a260b024586e105f2e109222201c.tar.gz rust-bf4d0adf2395a260b024586e105f2e109222201c.zip | |
Rename to RUSTC_LOG
Diffstat (limited to 'src/librustc_driver/lib.rs')
| -rw-r--r-- | src/librustc_driver/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<F: FnOnce() -> R, R>(f: F) -> Result<R, Erro /// This allows tools to enable rust logging without having to magically match rustc's /// log crate version pub fn init_rustc_env_logger() { - env_logger::init(); + env_logger::init_from_env("RUSTC_LOG"); } pub fn main() { |
