mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +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() {
|
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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue