Tags: servo/mozjs
Tags
Publish and test debugmozjs artifacts (#544) With this PR we also generate debugmozjs artifacts (for windows, mac and linux; mobile platforms were skipped). Such artifacts are now loaded by same mechanism as normal ones, so for servo developers it's just matter of switching debugmozjs on and this will now avoid SM compilation. Debugmozjs artifacts are not stripped, as it's users will likely need them for debugging. Switching between features works because `target/build/mozjs_sys-hash`, where hash depends on features (so we get different folder for debugmozjs \o/). Fix #541 --------- Signed-off-by: sagudev <[email protected]>
Support using rooted macro with vectors. (#697) We created our `RootedVec` type back before we supported storing arbitrary traceable types in SpiderMonkey's `Rooted` class. Now that we can do that, we can replicate SpiderMonkey's `RootedVec`, which is just a Rooted wrapper around a vector. Testing: New unit test added. Servo PR: servo/servo#41921 --------- Signed-off-by: Josh Matthews <[email protected]>
fix: make windows-arm64 build (#698) - enable aarch64 on windows on arm --------- Signed-off-by: Burhan Khanzada <[email protected]> Signed-off-by: Burhan Khanzada <[email protected]>
fix: make windows-arm64 build (#698) - enable aarch64 on windows on arm --------- Signed-off-by: Burhan Khanzada <[email protected]> Signed-off-by: Burhan Khanzada <[email protected]>
Update token for github release (#685) This was missed when refactoring the publish workflow. Signed-off-by: Jonathan Schwender <[email protected]>
Fix building with recent python versions. (#674) Signed-off-by: Josh Matthews <[email protected]>
Reapply "Fix OHOS define" (#671) * Fix OHOS define (#666) * Fix OHOS define Signed-off-by: Jonathan Schwender <[email protected]> * Fix indentation Signed-off-by: Jonathan Schwender <[email protected]> * Avoid name collision by not importing header Assertions .h is also included in `c` files, so using namespaces is not an option to avoid the collision. js::LogLevel, collides with the hilog LogLevel enum. Signed-off-by: Jonathan Schwender <[email protected]> * Fix vprintf impl Signed-off-by: Jonathan Schwender <[email protected]> * Update patches Signed-off-by: Jonathan Schwender <[email protected]> * Bump mozjs version Signed-off-by: Jonathan Schwender <[email protected]> * Completely inline function declaration Signed-off-by: Jonathan Schwender <[email protected]> * ohos: Add debug-mozjs ci configuration Signed-off-by: Jonathan Schwender <[email protected]> --------- Signed-off-by: Jonathan Schwender <[email protected]> (cherry picked from commit dfae36e) * Fix visibility in declaration Signed-off-by: Jonathan Schwender <[email protected]> * Add a CI test that ensures ohos binaries can link Compiling the unit-tests assures, that linking succeeds. Signed-off-by: Jonathan Schwender <[email protected]> * Bump version again Signed-off-by: Jonathan Schwender <[email protected]> * Remove system headers patch Not needed anymore, since we don't include this file. Signed-off-by: Jonathan Schwender <[email protected]> --------- Signed-off-by: Jonathan Schwender <[email protected]>
Fix OHOS define (#666) * Fix OHOS define Signed-off-by: Jonathan Schwender <[email protected]> * Fix indentation Signed-off-by: Jonathan Schwender <[email protected]> * Avoid name collision by not importing header Assertions .h is also included in `c` files, so using namespaces is not an option to avoid the collision. js::LogLevel, collides with the hilog LogLevel enum. Signed-off-by: Jonathan Schwender <[email protected]> * Fix vprintf impl Signed-off-by: Jonathan Schwender <[email protected]> * Update patches Signed-off-by: Jonathan Schwender <[email protected]> * Bump mozjs version Signed-off-by: Jonathan Schwender <[email protected]> * Completely inline function declaration Signed-off-by: Jonathan Schwender <[email protected]> * ohos: Add debug-mozjs ci configuration Signed-off-by: Jonathan Schwender <[email protected]> --------- Signed-off-by: Jonathan Schwender <[email protected]>
Add default feature for JIT (#589) When building servo on Linux with the profile `production-stripped`, disabling JIT with this change shaves off 9MiB from the servo binary size, which is around 10%. Signed-off-by: Jonathan Schwender <[email protected]>
Fixup global method on realm and add reborrow variant (#657) * currentglobal Signed-off-by: sagudev <[email protected]> * wrappers2 Signed-off-by: sagudev <[email protected]> * fmt Signed-off-by: sagudev <[email protected]> * Apply suggestions from code review Co-authored-by: Josh Matthews <[email protected]> Signed-off-by: Sam <[email protected]> --------- Signed-off-by: sagudev <[email protected]> Signed-off-by: Sam <[email protected]> Co-authored-by: Josh Matthews <[email protected]>
PreviousNext