Skip to content

Commit 7398f5f

Browse files
committed
install: remove RUSTFLAGS env var
1 parent 573dd48 commit 7398f5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/cargo-gpu/src/install.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,8 @@ package = "rustc_codegen_spirv"
284284
.current_dir(&install_dir)
285285
.arg(format!("+{toolchain_channel}"))
286286
.args(["build", "--release"])
287-
.env_remove("RUSTC");
287+
.env_remove("RUSTC")
288+
.env_remove("RUSTFLAGS");
288289
if source.is_path() {
289290
build_command.args(["-p", "rustc_codegen_spirv", "--lib"]);
290291
}

0 commit comments

Comments
 (0)