Skip to content
This repository was archived by the owner on Nov 12, 2022. It is now read-only.

Commit 4f6d2e0

Browse files
author
bors-servo
authored
Auto merge of #383 - Xanewok:rerun-script, r=jdm
Don't rerun build script unnecessarily Closes #380. From what I can see the only thing [impacting](https://github.com/servo/rust-mozjs/blob/master/CMakeLists.txt#L7) the cmake build is the jsglue.cpp file, so I set to only watch that file, instead. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-mozjs/383) <!-- Reviewable:end -->
2 parents 0ae0e2d + b2a23c8 commit 4f6d2e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ fn main() {
88
let dst = cmake::Config::new(".").build();
99
println!("cargo:rustc-link-search=native={}/lib", dst.display());
1010
println!("cargo:rustc-link-lib=static=jsglue");
11+
println!("cargo:rerun-if-changed=src/jsglue.cpp");
1112
}

0 commit comments

Comments
 (0)