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

Commit

Permalink
Auto merge of #383 - Xanewok:rerun-script, r=jdm
Browse files Browse the repository at this point in the history
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 -->
  • Loading branch information
bors-servo authored Nov 27, 2017
2 parents 0ae0e2d + b2a23c8 commit 4f6d2e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ fn main() {
let dst = cmake::Config::new(".").build();
println!("cargo:rustc-link-search=native={}/lib", dst.display());
println!("cargo:rustc-link-lib=static=jsglue");
println!("cargo:rerun-if-changed=src/jsglue.cpp");
}

0 comments on commit 4f6d2e0

Please sign in to comment.