Skip to content

[JS API] Expose BinaryenStringConst - #8951

Merged
tlively merged 1 commit into
WebAssembly:mainfrom
chharvey:feat/js-api-string
Jul 29, 2026
Merged

[JS API] Expose BinaryenStringConst#8951
tlively merged 1 commit into
WebAssembly:mainfrom
chharvey:feat/js-api-string

Conversation

@chharvey

Copy link
Copy Markdown
Contributor

Exposes the BinaryenStringConst API via a new Module#string.const() method.

Usage:

const mod = new binaryen.Module();
const expr = mod.string.const("a JavaScript string value");

Supersedes #8160.

@chharvey
chharvey requested a review from a team as a code owner July 29, 2026 03:34
@chharvey
chharvey requested review from tlively and removed request for a team July 29, 2026 03:34
@tlively
tlively merged commit 15bd4f0 into WebAssembly:main Jul 29, 2026
16 checks passed
@chharvey
chharvey deleted the feat/js-api-string branch July 29, 2026 21:20
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.

3 participants