Add new/old rustflags to fingerprint log.

This commit is contained in:
Eric Huss 2020-02-16 09:29:25 -08:00
parent 1492e5723e
commit 25275b07bb

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