We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e87c3d7 commit 9d7ccd6Copy full SHA for 9d7ccd6
crates/cargo-gpu-install/src/install.rs
@@ -284,6 +284,10 @@ package = "rustc_codegen_spirv"
284
285
crate::user_output!("Compiling `rustc_codegen_spirv` from source {}\n", source);
286
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
+ // We add this only to our install and not generally to `CargoCmd` since we do want to forward clippy args
289
+ // to clippy running on the spirv target via e.g. `cargo gpu clippy`.
290
+ cargo.env_remove("CLIPPY_ARGS");
291
cargo
292
.current_dir(&install_dir)
293
.arg(format!("+{toolchain_channel}"))
0 commit comments