Skip to content

Commit

Permalink
Allow to debug rustc_driver via logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
o01eg committed Oct 3, 2018
1 parent c47b948 commit 8695c2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/driver.rs
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 8695c2c

Please sign in to comment.