From f3c7525a61d61b347ed9e2e278dd84cc8c943531 Mon Sep 17 00:00:00 2001 From: Kornel Date: Wed, 21 Aug 2024 23:12:05 +0100 Subject: [PATCH] Tests rely on absence of RUST_BACKTRACE --- crates/cargo-test-support/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/cargo-test-support/src/lib.rs b/crates/cargo-test-support/src/lib.rs index ac4e342da44..4c7829974f3 100644 --- a/crates/cargo-test-support/src/lib.rs +++ b/crates/cargo-test-support/src/lib.rs @@ -1456,6 +1456,7 @@ pub trait TestEnvCommandExt: Sized { .env_remove("MFLAGS") .env_remove("MSYSTEM") // assume cmd.exe everywhere on windows .env_remove("RUSTC") + .env_remove("RUST_BACKTRACE") .env_remove("RUSTC_WORKSPACE_WRAPPER") .env_remove("RUSTC_WRAPPER") .env_remove("RUSTDOC")