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.
2 parents 9411af3 + 4a24b2d commit a9df9feCopy full SHA for a9df9fe
build.rs
@@ -2,4 +2,6 @@ use std::env;
2
3
fn main() {
4
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");
7
}
0 commit comments