From 72802069a20b8db50fc4a896fea130f6549faa33 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 29 Sep 2016 19:45:59 -0500 Subject: [PATCH] build.rs: print rerun-if-change for all the C/asm sources --- build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index f58ea5b..a05a1a5 100644 --- a/build.rs +++ b/build.rs @@ -406,7 +406,9 @@ fn main() { } 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");