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 67aad4f commit cfabfe5Copy full SHA for cfabfe5
crates/cargo-test-support/src/compare.rs
@@ -179,6 +179,11 @@ fn add_common_redactions(subs: &mut snapbox::Redactions) {
179
regex!(r"home/\.cargo/registry/src/-(?<redacted>[a-z0-9]+)"),
180
)
181
.unwrap();
182
+ subs.insert(
183
+ "[HASH]",
184
+ regex!(r"\.cargo/target/(?<redacted>[0-9a-f]{2}/[0-9a-f]{14})"),
185
+ )
186
+ .unwrap();
187
subs.insert("[HASH]", regex!(r"/[a-z0-9\-_]+-(?<redacted>[0-9a-f]{16})"))
188
189
subs.insert("[HOST_TARGET]", rustc_host()).unwrap();
0 commit comments