From 25275b07bb3a2b19f0955445c09c13b2b9973b87 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sun, 16 Feb 2020 09:29:25 -0800 Subject: [PATCH] Add new/old rustflags to fingerprint log. --- src/cargo/core/compiler/fingerprint.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cargo/core/compiler/fingerprint.rs b/src/cargo/core/compiler/fingerprint.rs index 75250a3212f..ce0dee7e6f9 100644 --- a/src/cargo/core/compiler/fingerprint.rs +++ b/src/cargo/core/compiler/fingerprint.rs @@ -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")