From 8695c2c34bf315f9cf62f1a1e276a8bcb8c693c7 Mon Sep 17 00:00:00 2001
From: O01eg <o01eg@yandex.ru>
Date: Wed, 3 Oct 2018 21:41:02 +0300
Subject: [PATCH] Allow to debug rustc_driver via logs.

---
 src/driver.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/driver.rs b/src/driver.rs
index 99f8bc610ff..6c442e42d95 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -21,6 +21,7 @@ fn show_version() {
 }
 
 pub fn main() {
+    rustc_driver::init_rustc_env_logger();
     exit(rustc_driver::run(move || {
         use std::env;