Auto merge of #7890 - ehuss:fingerprint-log-rustflags, r=Eh2406

Add new/old rustflags to fingerprint log.

Follow up to #7888. Due to a conversation with someone I had with Discord who was having trouble determining why something was rebuilding.
This commit is contained in:
bors 2020-02-16 20:10:00 +00:00
commit 5f07972103

View File

@ -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")