Auto merge of #64329 - Mark-Simulacrum:rustdoc-log, r=GuillaumeGomez
Switch rustdoc logging to RUSTDOC_LOG This better aligns with Cargo (CARGO_LOG) and rustc (RUSTC_LOG). Fixes https://github.com/rust-lang/rust/issues/64309 r? @GuillaumeGomez
This commit is contained in:
commit
403c0def90
@ -90,7 +90,7 @@ pub fn main() {
|
||||
32_000_000 // 32MB on other platforms
|
||||
};
|
||||
rustc_driver::set_sigpipe_handler();
|
||||
env_logger::init();
|
||||
env_logger::init_from_env("RUSTDOC_LOG");
|
||||
let res = std::thread::Builder::new().stack_size(thread_stack_size).spawn(move || {
|
||||
get_args().map(|args| main_args(&args)).unwrap_or(1)
|
||||
}).unwrap().join().unwrap_or(rustc_driver::EXIT_FAILURE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user