Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a
Browse files Browse the repository at this point in the history
XAMPPRocky committed Dec 1, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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
@@ -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)]

0 comments on commit 1271791

Please sign in to comment.