Skip to content

Commit 93de5fc

Browse files
authored
Merge pull request #3255 from o01eg/env_logger
Allow to debug rustc_driver via logs.
2 parents c3e3be3 + 8695c2c commit 93de5fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/driver.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ fn show_version() {
2121
}
2222

2323
pub fn main() {
24+
rustc_driver::init_rustc_env_logger();
2425
exit(rustc_driver::run(move || {
2526
use std::env;
2627

0 commit comments

Comments
 (0)