-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mozjs-sys always being out of date (#524)
* Fix mozjs-sys always being out of date - `src/rustfmt.toml` does not exist, so always out of date - the configure script is touched by the makefile, so the second build will always be out of date, even without changes. - bindgen::CargoCallbacks will by default tell Cargo to rerun the build-script if any of the included files change. In our case some of the included files are generated by the build-script, so their mtime will always be newer than when the build-script last ran causing cargo to needlessly rerun the build-script. Writing a customized Callback that ignores generated include files avoids this problem Signed-off-by: Jonathan Schwender <[email protected]> * Bump mozjs_sys to 128.3-5 Signed-off-by: Jonathan Schwender <[email protected]> --------- Signed-off-by: Jonathan Schwender <[email protected]> Signed-off-by: Jonathan Schwender <[email protected]>
- Loading branch information
Showing
2 changed files
with
40 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters