mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Auto merge of #7749 - iu0zjp2:patch-1, r=ehuss
Fix debug message. The [path] field of [Fingerprint] contains the "Hash of the path to the base source file". repro: ``` $ cargo new a $ cd a $ echo 'cfg-if="0"' >> Cargo.toml $ CARGO_HOME=cargo1 cargo build $ mv cargo1 cargo2 $ CARGO_LOG=cargo::core::compiler::fingerprint=trace CARGO_HOME=cargo2 cargo build [...] [... INFO cargo::core::compiler::fingerprint] err: path to the compiler has changed ```
This commit is contained in:
commit
5336fba8e3
@ -643,7 +643,7 @@ impl Fingerprint {
|
||||
bail!("target configuration has changed")
|
||||
}
|
||||
if self.path != old.path {
|
||||
bail!("path to the compiler has changed")
|
||||
bail!("path to the source has changed")
|
||||
}
|
||||
if self.profile != old.profile {
|
||||
bail!("profile configuration has changed")
|
||||
|
Loading…
x
Reference in New Issue
Block a user