mozjs-sys-v0.128.3-5: Fix mozjs-sys always being out of date (#524)
github-actions
released this
22 Nov 15:20
·
1 commit
to main
since this release
* 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]>