Rollup merge of #131056 - onur-ozkan:cargo-compiler-fingerprint, r=Kobzol
enable compiler fingerprint logs in verbose mode This provides very useful logs especially when debugging build cache-related stuff.
This commit is contained in:
commit
fd67755554
@ -2014,6 +2014,11 @@ fn cargo(
|
|||||||
cargo.env("RUSTC_BACKTRACE_ON_ICE", "1");
|
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());
|
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
|
// 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