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.
rerun-if-changed
1 parent 2b523c5 commit aa0dcc4Copy full SHA for aa0dcc4
ci/asm/rt/build.rs
@@ -15,5 +15,8 @@ fn main() -> Result<(), Box<Error>> {
15
// assemble the `asm.s` file
16
Build::new().file("asm.s").compile("asm"); // <- NEW!
17
18
+ // rebuild if `asm.s` changed
19
+ println!("cargo:rerun-if-changed=asm.s"); // <- NEW!
20
+
21
Ok(())
22
}
ci/asm/rt2/build.rs
@@ -20,5 +20,8 @@ fn main() -> Result<(), Box<Error>> {
fs::copy("librt.a", out_dir.join("librt.a"))?; // <- NEW!
println!("cargo:rustc-link-lib=static=rt"); // <- NEW!
23
+ // rebuild if `librt.a` changed
24
+ println!("cargo:rerun-if-changed=librt.a"); // <- NEW!
25
26
27
0 commit comments