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.
[DIRTY-MSVC]
1 parent 00b81c2 commit 95064a0Copy full SHA for 95064a0
crates/cargo-test-support/src/compare.rs
@@ -16,6 +16,11 @@
16
//! `[WARNING]`) to match cargo's "status" output and allows you to ignore
17
//! the alignment. See the source of `substitute_macros` for a complete list
18
//! of substitutions.
19
+//! - `[DIRTY-MSVC]` (only when the line starts with it) would be replaced by
20
+//! `[DIRTY]` when `cfg(target_env = "msvc")` or the line will be ignored otherwise.
21
+//! Tests that work around [issue 7358](https://github.com/rust-lang/cargo/issues/7358)
22
+//! can use this to avoid duplicating the `with_stderr` call like:
23
+//! `if cfg!(target_env = "msvc") {e.with_stderr("...[DIRTY]...");} else {e.with_stderr("...");}`.
24
//!
25
//! # Normalization
26
0 commit comments