Skip to content

Commit b4f09d7

Browse files
committed
Add --color=always to test explorer command
Fixes rust-lang/rust-analyzer#20030
1 parent 20a62ab commit b4f09d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/rust-analyzer/src/test_runner.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ impl CargoTestHandle {
103103
) -> std::io::Result<Self> {
104104
let mut cmd = toolchain::command(Tool::Cargo.path(), root, &options.extra_env);
105105
cmd.env("RUSTC_BOOTSTRAP", "1");
106+
cmd.arg("--color=always");
106107
cmd.arg("test");
107108

108109
cmd.arg("--package");

0 commit comments

Comments
 (0)