Update comment on rerun-if-changed to better reflect what it does
This commit is contained in:
3
build.rs
3
build.rs
@@ -12,6 +12,7 @@ fn main() {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
println!("cargo:rustc-link-search={}", out.display());
|
println!("cargo:rustc-link-search={}", out.display());
|
||||||
|
|
||||||
// Only re-run the build script when memory.x is changed, instead of at every build
|
// Only re-run the build script when memory.x is changed,
|
||||||
|
// instead of when any part of the source code changes.
|
||||||
println!("cargo:rerun-if-changed=memory.x");
|
println!("cargo:rerun-if-changed=memory.x");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user