Skip to content

Ship an Intl-enabled engine #362

Open

Description

@hozan23

The shipped engines are built with --without-intl-api, so /\p{L}/u is a parse-time SyntaxError, and String.prototype.normalize and Intl are missing.

StarlingMonkey #368 (refs #45) adds an opt-in ENABLE_INTL CMake option, with prebuilt release_intl / release_weval_intl SpiderMonkey tarballs. An engine built with it works today through --engine. It is ~32 MB vs ~10.5 MB, mostly ICU data.

Once a StarlingMonkey release includes #368:

  • build starlingmonkey_embedding_intl.wasm (+ a weval variant)
  • add enableIntl (default false) to pick it, and --intl in jco

Happy to send the PR

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions