Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky committed Dec 1, 2020
1 parent 359fd59 commit 1271791
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/spirv-builder/src/rustc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use std::process::Command;
use raw_string::{RawStr, RawString};

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

#[derive(serde::Deserialize)]
Expand Down

0 comments on commit 1271791

Please sign in to comment.