mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
enable compiler fingerprint logs in verbose mode
Signed-off-by: onur-ozkan <work@onurozkan.dev>
This commit is contained in:
parent
612796c420
commit
874d55cea8
@ -2012,6 +2012,11 @@ impl<'a> Builder<'a> {
|
||||
cargo.env("RUSTC_BACKTRACE_ON_ICE", "1");
|
||||
}
|
||||
|
||||
if self.is_verbose() {
|
||||
// This provides very useful logs especially when debugging build cache-related stuff.
|
||||
cargo.env("CARGO_LOG", "cargo::core::compiler::fingerprint=info");
|
||||
}
|
||||
|
||||
cargo.env("RUSTC_VERBOSE", self.verbosity.to_string());
|
||||
|
||||
// Downstream forks of the Rust compiler might want to use a custom libc to add support for
|
||||
|
Loading…
Reference in New Issue
Block a user