Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit f2f9ec6

Browse files
committed
fix spirv-tools skipping C++ compile on install
close #140
1 parent e87c3d7 commit f2f9ec6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/cargo-gpu-install/src/install.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,8 @@ package = "rustc_codegen_spirv"
284284

285285
crate::user_output!("Compiling `rustc_codegen_spirv` from source {}\n", source);
286286
let mut cargo = spirv_builder::cargo_cmd::CargoCmd::new();
287+
// Make sure spirv-tools is build normally and does not skip C++ compile due to "being run in clippy"
288+
cargo.env_remove("CLIPPY_ARGS");
287289
cargo
288290
.current_dir(&install_dir)
289291
.arg(format!("+{toolchain_channel}"))

0 commit comments

Comments
 (0)