Skip to content

Commit

Permalink
Auto merge of #14441 - kornelski:env-leak, r=epage
Browse files Browse the repository at this point in the history
Tests rely on absence of RUST_BACKTRACE

I have it set in my default environment, and it causes tests to fail
  • Loading branch information
bors committed Aug 21, 2024
2 parents 7d7b932 + f3c7525 commit 8f40fc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/cargo-test-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8f40fc5

Please sign in to comment.