Skip to content

Commit 5887ee5

Browse files
author
Robin Kruppe
committed
Rebuild rustc_llvm when the rustllvm source files change
1 parent 766f6e4 commit 5887ee5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_llvm/build.rs

+3
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ fn main() {
116116
cfg.flag("-DLLVM_RUSTLLVM");
117117
}
118118

119+
println!("cargo:rerun-if-changed=../rustllvm/PassWrapper.cpp");
120+
println!("cargo:rerun-if-changed=../rustllvm/RustWrapper.cpp");
121+
println!("cargo:rerun-if-changed=../rustllvm/ArchiveWrapper.cpp");
119122
cfg.file("../rustllvm/PassWrapper.cpp")
120123
.file("../rustllvm/RustWrapper.cpp")
121124
.file("../rustllvm/ArchiveWrapper.cpp")

0 commit comments

Comments
 (0)