Skip to content

Commit 7280206

Browse files
author
Jorge Aparicio
committed
build.rs: print rerun-if-change for all the C/asm sources
1 parent 62258b5 commit 7280206

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,9 @@ fn main() {
406406
}
407407

408408
for src in sources.map.values() {
409-
cfg.file(Path::new("compiler-rt/compiler-rt-cdylib/compiler-rt/lib/builtins").join(src));
409+
let src = Path::new("compiler-rt/compiler-rt-cdylib/compiler-rt/lib/builtins").join(src);
410+
cfg.file(&src);
411+
println!("cargo:rerun-if-changed={}", src.display());
410412
}
411413

412414
cfg.compile("libcompiler-rt.a");

0 commit comments

Comments
 (0)