We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95fbcb2 commit 434ba07Copy full SHA for 434ba07
spirv-tools-sys/build.rs
@@ -74,6 +74,11 @@ fn val(build: &mut Build) {
74
}
75
76
fn main() {
77
+ // skip compiling C++ code when running clippy
78
+ if cfg!(clippy) {
79
+ return;
80
+ }
81
+
82
let use_installed = std::env::var("CARGO_FEATURE_USE_INSTALLED_TOOLS").is_ok();
83
let use_compiled = std::env::var("CARGO_FEATURE_USE_COMPILED_TOOLS").is_ok();
84
0 commit comments