mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
Allow to debug rustc_driver via logs.
This commit is contained in:
parent
c47b9489ab
commit
8695c2c34b
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ fn show_version() {
|
|||
}
|
||||
|
||||
pub fn main() {
|
||||
rustc_driver::init_rustc_env_logger();
|
||||
exit(rustc_driver::run(move || {
|
||||
use std::env;
|
||||
|
||||
|
|
Loading…
Reference in a new issue