build.rs: print rerun-if-change for all the C/asm sources
This commit is contained in:
parent
62258b5188
commit
72802069a2
4
build.rs
4
build.rs
|
@ -406,7 +406,9 @@ fn main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for src in sources.map.values() {
|
for src in sources.map.values() {
|
||||||
cfg.file(Path::new("compiler-rt/compiler-rt-cdylib/compiler-rt/lib/builtins").join(src));
|
let src = Path::new("compiler-rt/compiler-rt-cdylib/compiler-rt/lib/builtins").join(src);
|
||||||
|
cfg.file(&src);
|
||||||
|
println!("cargo:rerun-if-changed={}", src.display());
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg.compile("libcompiler-rt.a");
|
cfg.compile("libcompiler-rt.a");
|
||||||
|
|
Loading…
Reference in New Issue