Skip to content

Commit 07b3b5c

Browse files
fee1-deadFirestar99
authored andcommitted
revert to env var approach for skipping clippy for build scripts
1 parent fee36ea commit 07b3b5c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spirv-tools-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ fn val(build: &mut Build) {
7575

7676
fn main() {
7777
// skip compiling C++ code when running clippy
78-
if cfg!(clippy) {
78+
if std::env::var("CLIPPY_ARGS").is_ok() {
7979
return;
8080
}
8181

0 commit comments

Comments
 (0)