Skip to content

Commit 1271791

Browse files
committed
a
1 parent 359fd59 commit 1271791

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/spirv-builder/src/rustc.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ use std::process::Command;
55
use raw_string::{RawStr, RawString};
66

77
pub fn cargo() -> Command {
8-
Command::new(std::env::var("CARGO").unwrap_or_else(|_| String::from("cargo")))
8+
let mut cmd = Command::new(std::env::var("CARGO").unwrap_or_else(|_| String::from("cargo")));
9+
cmd.env_clear();
10+
cmd
911
}
1012

1113
#[derive(serde::Deserialize)]

0 commit comments

Comments
 (0)