Add comment to build script about rerun-if-changed, and remove redundant line for build.rs

This commit is contained in:
Adam Greig
2018-04-22 15:02:14 +01:00
parent 5832d097c6
commit f39fa8ebef

View File

@@ -12,6 +12,6 @@ fn main() {
.unwrap();
println!("cargo:rustc-link-search={}", out.display());
println!("cargo:rerun-if-changed=build.rs");
// Only re-run the build script when memory.x is changed, instead of at every build
println!("cargo:rerun-if-changed=memory.x");
}