build.rs: print rerun-if-change for all the C/asm sources

This commit is contained in:
Jorge Aparicio 2016-09-29 19:45:59 -05:00
parent 62258b5188
commit 72802069a2
1 changed files with 3 additions and 1 deletions

View File

@ -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");