Tags: sagudev/mozjs
Tags
Fix `icu_capi` detection (servo#633) * Fix `icu_capi` detection servo#623 made `icu_capi` optional, which broke the build of servo with vendored dependencies. We need to explicitly add the `intl` feature when invoking cargo metadata, otherwise the feature will not be enabled in the vendored crate directory when cargo metadata is run. Signed-off-by: Jonathan Schwender <[email protected]> * Update comment Signed-off-by: Jonathan Schwender <[email protected]> * Bump mozjs-sys version Signed-off-by: Jonathan Schwender <[email protected]> --------- Signed-off-by: Jonathan Schwender <[email protected]>
Support build configurations without Intl API (servo#623) * Support build configurations without Intl API The Intl API requires bundling a very large amount of data, and isn't needed in absolutely all environments. This commit introduces an `intl` feature, which is enabled by default on `mozjs`, and builds SpiderMonkey without Intl support if that feature is disabled. On MacOS, a mozjs embedding I'm working on shrinks from 32MB to 12MB, and a wasm32 build from also 32MB to 8.5MB (all stripped). Signed-off-by: Till Schneidereit <[email protected]> * Always build from source if intl feature is disabled Signed-off-by: Till Schneidereit <[email protected]> * Bump `mozjs-sys` version Signed-off-by: Till Schneidereit <[email protected]> --------- Signed-off-by: Till Schneidereit <[email protected]>
Refactor Rooted<T> (servo#576) * Factor out MaybeUninit from Rooted Signed-off-by: Greg Morenz <[email protected]> * Rename ptr to data Signed-off-by: Greg Morenz <[email protected]> --------- Signed-off-by: Greg Morenz <[email protected]>
Allow returning null context pointers from Runtime::get(). (servo#545) Signed-off-by: Josh Matthews <[email protected]>
Allow iterating over the frames of a CapturedJSStack (servo#539) * Allow iterating over the frames in a SavedJSStack Signed-off-by: Simon Wülker <[email protected]> * Add test for CapturedJSStack::for_each_stack_frame Signed-off-by: Simon Wülker <[email protected]> * Move stack iteration test into its own file This prevents other tests from interfering with the js engine initialization Signed-off-by: Simon Wülker <[email protected]> --------- Signed-off-by: Simon Wülker <[email protected]>
Use github artifact attestations for the prebuilt artifacts (servo#503) * Add optional verification of prebuilt artifacts Signed-off-by: Jonathan Schwender <[email protected]> f Signed-off-by: Jonathan Schwender <[email protected]> Signed-off-by: Jonathan Schwender <[email protected]> * CI: Enable strict attestation check in release-check Signed-off-by: Jonathan Schwender <[email protected]> * CI: Verify ohos archives in release-check. Signed-off-by: Jonathan Schwender <[email protected]> * Disable artifact verification by default Signed-off-by: Jonathan Schwender <[email protected]> * Move attestation into function Signed-off-by: Jonathan Schwender <[email protected]> * fix ohos archive ci verification Signed-off-by: Jonathan Schwender <[email protected]> * Bump version to 128.3-3 Signed-off-by: Jonathan Schwender <[email protected]> --------- Signed-off-by: Jonathan Schwender <[email protected]> Signed-off-by: Jonathan Schwender <[email protected]>
Rebuild when `MOZJS_` options are changed (servo#517) Emit the `rerun-if-changed` lines for publicly documented MOZJS options. Signed-off-by: Jonathan Schwender <[email protected]>
Add `ThreadSafeJSContext` (servo#512) * Add `SyncJSContext` servo/servo#33759 Signed-off-by: sagudev <[email protected]> * derive clone Signed-off-by: sagudev <[email protected]> * docs and fixes Signed-off-by: sagudev <[email protected]> * Update mozjs/src/rust.rs Co-authored-by: Mukilan Thiyagarajan <[email protected]> Signed-off-by: Samson <[email protected]> * Apply suggestions from code review Fix typos from my GitHub suggestions Signed-off-by: Martin Robinson <[email protected]> --------- Signed-off-by: sagudev <[email protected]> Signed-off-by: Samson <[email protected]> Signed-off-by: Martin Robinson <[email protected]> Co-authored-by: Mukilan Thiyagarajan <[email protected]> Co-authored-by: Martin Robinson <[email protected]>
Generate attestation for all artifacts Signed-off-by: sagudev <[email protected]>
PreviousNext