Skip to content

Commit

Permalink
Merge pull request #3255 from o01eg/env_logger
Browse files Browse the repository at this point in the history
Allow to debug rustc_driver via logs.
  • Loading branch information
oli-obk authored Oct 4, 2018
2 parents c3e3be3 + 8695c2c commit 93de5fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn show_version() {
}

pub fn main() {
rustc_driver::init_rustc_env_logger();
exit(rustc_driver::run(move || {
use std::env;

Expand Down

0 comments on commit 93de5fc

Please sign in to comment.