Allow to debug rustc_driver via logs.

This commit is contained in:
O01eg 2018-10-03 21:41:02 +03:00
parent c47b9489ab
commit 8695c2c34b
No known key found for this signature in database
GPG key ID: C228A538C3BF5CD2

View file

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