Skip to content

Commit d26359c

Browse files
committed
fix(test): strip RUSTUP_TOOLCHAIN_SOURCE from test environment
1 parent 101549d commit d26359c

File tree

1 file changed

+1
-0
lines changed
  • crates/cargo-test-support/src

1 file changed

+1
-0
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1458,6 +1458,7 @@ pub trait TestEnvCommandExt: Sized {
14581458
.env_remove("RUSTDOC")
14591459
.env_remove("RUSTDOCFLAGS")
14601460
.env_remove("RUSTFLAGS")
1461+
.env_remove("RUSTUP_TOOLCHAIN_SOURCE")
14611462
.env_remove("SSH_AUTH_SOCK") // ensure an outer agent is never contacted
14621463
.env_remove("USER") // not set on some rust-lang docker images
14631464
.env_remove("XDG_CONFIG_HOME") // see #2345

0 commit comments

Comments
 (0)