Skip to content

Commit 3627511

Browse files
committed
rustup: rustc_log::init_env_logger -> init_logger
rust-lang/rust@581a317
1 parent b9ec4dd commit 3627511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/mir-json-dce.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use mir_json::link;
2222

2323

2424
fn main() {
25-
rustc_log::init_env_logger("RUST_LOG").unwrap();
25+
rustc_log::init_logger(rustc_log::LoggerConfig::from_env("RUST_LOG")).unwrap();
2626

2727
let mut last_time = Instant::now();
2828
let mut measure = || {

0 commit comments

Comments
 (0)