Skip to content

Allow mutation of EXPORTED_RUNTIME_METHODS in JS libraries#26389

Open
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:export_from_jslib
Open

Allow mutation of EXPORTED_RUNTIME_METHODS in JS libraries#26389
sbc100 wants to merge 1 commit intoemscripten-core:mainfrom
sbc100:export_from_jslib

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Mar 5, 2026

This used to work in the past but regressed at some point.

Fixes: #23057

@sbc100 sbc100 force-pushed the export_from_jslib branch from b8c634a to ca587a1 Compare March 5, 2026 00:32
This used to work in the past but regressed at some point.

Fixes: emscripten-core#23057
@sbc100 sbc100 force-pushed the export_from_jslib branch from ca587a1 to 4feb48a Compare March 5, 2026 00:32
@sbc100 sbc100 requested a review from kripken March 5, 2026 00:32

export function applySettings(obj) {
// Certain settings are read in as lists, but we convert them to Set
// within the compiler, for effeciency.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// within the compiler, for effeciency.
// within the compiler, for efficiency.

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.

Adding symbol into EXPORTED_RUNTIME_METHODS from macro in JS library doesn't work since 3.1.60

2 participants