Skip to content

Commit 9da38cd

Browse files
committed
no need to forward all env vars
1 parent 69358d0 commit 9da38cd

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

miri-script/src/util.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ pub fn active_toolchain() -> Result<String> {
2020
}
2121

2222
pub fn shell() -> Result<Shell> {
23-
let sh = Shell::new()?;
24-
// xshell does not propagate parent's env variables by default.
25-
for (k, v) in std::env::vars_os() {
26-
sh.set_var(k, v);
27-
}
28-
Ok(sh)
23+
Ok(Shell::new()?)
2924
}
3025

3126
pub fn flagsplit(flags: &str) -> Vec<String> {

0 commit comments

Comments
 (0)