mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
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:
commit
5f07972103
@ -653,7 +653,11 @@ impl Fingerprint {
|
|||||||
bail!("profile configuration has changed")
|
bail!("profile configuration has changed")
|
||||||
}
|
}
|
||||||
if self.rustflags != old.rustflags {
|
if self.rustflags != old.rustflags {
|
||||||
bail!("RUSTFLAGS has changed")
|
bail!(
|
||||||
|
"RUSTFLAGS has changed: {:?} != {:?}",
|
||||||
|
self.rustflags,
|
||||||
|
old.rustflags
|
||||||
|
)
|
||||||
}
|
}
|
||||||
if self.metadata != old.metadata {
|
if self.metadata != old.metadata {
|
||||||
bail!("metadata changed")
|
bail!("metadata changed")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user