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

Commit b2a23c8

Browse files
committed
Don't rerun build script unnecessarily
The only thing that is used by the SM build is the jsglue.cpp file, so rerun build script only when it's changed.
1 parent 72ffe0e commit b2a23c8

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)