Skip to content

Commit 25275b0

Browse files
committed
Add new/old rustflags to fingerprint log.
1 parent 1492e57 commit 25275b0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cargo/core/compiler/fingerprint.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,11 @@ impl Fingerprint {
653653
bail!("profile configuration has changed")
654654
}
655655
if self.rustflags != old.rustflags {
656-
bail!("RUSTFLAGS has changed")
656+
bail!(
657+
"RUSTFLAGS has changed: {:?} != {:?}",
658+
self.rustflags,
659+
old.rustflags
660+
)
657661
}
658662
if self.metadata != old.metadata {
659663
bail!("metadata changed")

0 commit comments

Comments
 (0)