Merge pull request #3255 from o01eg/env_logger

Allow to debug rustc_driver via logs.
This commit is contained in:
Oliver S̶c̶h̶n̶e̶i̶d̶e̶r Scherer 2018-10-04 08:51:23 +02:00 committed by GitHub
commit 93de5fc6c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ fn show_version() {
}
pub fn main() {
rustc_driver::init_rustc_env_logger();
exit(rustc_driver::run(move || {
use std::env;