Skip to content

Commit

Permalink
build script: rerun properly
Browse files Browse the repository at this point in the history
  • Loading branch information
DJMcNab committed Feb 14, 2024
1 parent 9400455 commit a73e6d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/tests/build.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::env;

fn main() {
println!("cargo:rerun-if-env-changed=VELLO_CI_NO_GPU");
if env::var("VELLO_CI_NO_GPU").is_ok() {
println!("cargo:rustc-cfg=skip_gpu_tests");
}
Expand Down

0 comments on commit a73e6d6

Please sign in to comment.