Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 86fc225

Browse files
authored
Unrolled build for rust-lang#131056
Rollup merge of rust-lang#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.
2 parents 63a0bdd + 874d55c commit 86fc225

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bootstrap/src/core/builder.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,6 +2014,11 @@ impl<'a> Builder<'a> {
20142014
cargo.env("RUSTC_BACKTRACE_ON_ICE", "1");
20152015
}
20162016

2017+
if self.is_verbose() {
2018+
// This provides very useful logs especially when debugging build cache-related stuff.
2019+
cargo.env("CARGO_LOG", "cargo::core::compiler::fingerprint=info");
2020+
}
2021+
20172022
cargo.env("RUSTC_VERBOSE", self.verbosity.to_string());
20182023

20192024
// Downstream forks of the Rust compiler might want to use a custom libc to add support for

0 commit comments

Comments
 (0)