Merge pull request #20035 from joshka/jm/test-explorer-color

Add --color=always to test explorer command
This commit is contained in:
HKalbasi 2025-06-20 00:11:57 +00:00 committed by GitHub
commit dc2e14d5f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -103,6 +103,7 @@ impl CargoTestHandle {
) -> std::io::Result<Self> {
let mut cmd = toolchain::command(Tool::Cargo.path(), root, &options.extra_env);
cmd.env("RUSTC_BOOTSTRAP", "1");
cmd.arg("--color=always");
cmd.arg("test");
cmd.arg("--package");