Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Commit c563ac9

Browse files
committed
Add compatibility with env_logger 0.5
Gonna try to update in rust-lang/rust and this fixes a build error
1 parent a2919f5 commit c563ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use std::path::PathBuf;
2222
use std::process;
2323

2424
pub fn run() {
25-
env_logger::init().unwrap();
25+
drop(env_logger::init());
2626
let result = rustc_driver::run(|| {
2727
let args = env::args_os().enumerate()
2828
.map(|(i, arg)| arg.into_string().unwrap_or_else(|arg| {

0 commit comments

Comments
 (0)