We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 631b568 commit c08b169Copy full SHA for c08b169
compiler-rt/compiler-rt-cdylib/build.rs
@@ -62,9 +62,16 @@ fn main() {
62
"powisf2.c",
63
]);
64
65
+ let builtins_dir = Path::new("compiler-rt/lib/builtins");
66
for src in sources.files.iter() {
- cfg.file(Path::new("compiler-rt/lib/builtins").join(src));
67
+ cfg.file(builtins_dir.join(src));
68
}
69
70
cfg.compile("libcompiler-rt.a");
71
+
72
+ println!("cargo:rerun-if-changed=build.rs");
73
74
+ for source in sources.files.iter() {
75
+ println!("cargo:rerun-if-changed={}", builtins_dir.join(source).display());
76
+ }
77
0 commit comments