Skip to content

Commit 4a24b2d

Browse files
committed
Fix build script to prevent change scanning.
1 parent 9411af3 commit 4a24b2d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ use std::env;
22

33
fn main() {
44
println!("cargo:rustc-env=HOST={}", env::var("TARGET").unwrap());
5+
// Prevents cargo from scanning the whole directory for changes.
6+
println!("cargo:rerun-if-changed=build.rs");
57
}

0 commit comments

Comments
 (0)