We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e28c99d commit b90ba01Copy full SHA for b90ba01
crates/cargo-test-support/src/compare.rs
@@ -165,6 +165,11 @@ fn add_common_redactions(subs: &mut snapbox::Redactions) {
165
regex::Regex::new("home/\\.cargo/registry/src/-(?<redacted>[a-z0-9]+)").unwrap(),
166
)
167
.unwrap();
168
+ subs.insert(
169
+ "[HASH]",
170
+ regex::Regex::new(r"[a-z0-9\-_]+-(?<redacted>[0-9a-f]{16})").unwrap(),
171
+ )
172
+ .unwrap();
173
subs.insert("[HOST_TARGET]", rustc_host()).unwrap();
174
if let Some(alt_target) = try_alternate() {
175
subs.insert("[ALT_TARGET]", alt_target).unwrap();
0 commit comments