Skip to content

Commit 5336fba

Browse files
committed
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 ```
2 parents 86134e7 + 1b70e57 commit 5336fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ impl Fingerprint {
643643
bail!("target configuration has changed")
644644
}
645645
if self.path != old.path {
646-
bail!("path to the compiler has changed")
646+
bail!("path to the source has changed")
647647
}
648648
if self.profile != old.profile {
649649
bail!("profile configuration has changed")

0 commit comments

Comments
 (0)