Skip to content

Commit

Permalink
Add new/old rustflags to fingerprint log.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Feb 16, 2020
1 parent 1492e57 commit 25275b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cargo/core/compiler/fingerprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,11 @@ impl Fingerprint {
bail!("profile configuration has changed")
}
if self.rustflags != old.rustflags {
bail!("RUSTFLAGS has changed")
bail!(
"RUSTFLAGS has changed: {:?} != {:?}",
self.rustflags,
old.rustflags
)
}
if self.metadata != old.metadata {
bail!("metadata changed")
Expand Down

0 comments on commit 25275b0

Please sign in to comment.