Skip to content

feat(build): add opt-in ENABLE_INTL option for Intl/ICU support - #368

Open
hozan23 wants to merge 2 commits into
bytecodealliance:mainfrom
hozan23:feat/enable-intl
Open

hozan23 wants to merge 2 commits into
bytecodealliance:mainfrom
hozan23:feat/enable-intl

Conversation

@hozan23

@hozan23 hozan23 commented Nov 12, 2026 •

Copy link
Copy Markdown

Adds an ENABLE_INTL CMake option (default OFF) that builds SpiderMonkey with --with-intl-api, enabling Intl, String.prototype.normalize and Unicode property escapes (/\p{L}/u). Refs #45.

  • Intl builds use an _intl build type suffix (release_intl, release_weval_intl). Prebuilt artifacts are used when published.
  • Adds an intl e2e test.
  • CI: adds release_intl and weval_intl jobs, checks for each job's own prebuilt tarball instead of the release tag, and publishes both Intl tarballs.

Size: starling-raw.wasm grows from ~10.5 MB to ~32 MB, mostly ICU data, only when the option is on.

Tested locally: -DWEVAL=ON -DENABLE_INTL=ON builds and passes all 20 e2e tests through weval.

@hozan23 hozan23 changed the title Feat/enable intl feat(build): add opt-in ENABLE_INTL option for Intl/ICU support Nov 12, 2026
@hozan23
hozan23 marked this pull request as ready for review November 12, 2026 19:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant