only rerun build.rs when something in src/ has changed

by default (when no rerun-if is emitted) build.rs is rerun if something in the package changes
This commit is contained in:
Skgland
2022-01-10 19:59:56 +01:00
parent a5de329712
commit 590d80268e

View File

@@ -83,4 +83,6 @@ fn main() {
.arg(static_atoms_path.as_os_str())
.spawn().unwrap()
.wait().unwrap();
println!("cargo:rerun-if-changed=src/");
}