Skip to content

[esm-integration] Fix handling of EM_JS exports #24292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented May 9, 2025

This change also adds a new core test mode for ESM integration and uses this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c which are required to be of the new form in strict JS. All code in ES modules is implicitly in strict mode.

Split out from #24288

See #24060

@sbc100 sbc100 requested review from brendandahl and kripken May 9, 2025 18:34
@sbc100 sbc100 force-pushed the esm_integration_em_js branch 2 times, most recently from 72f6844 to 694fd91 Compare May 9, 2025 19:57
This change also adds a new core test mode for ESM integration and
uses this to run all the variants of test_fs_js_api.

As part of this I also updated the octal constants in test_fs_js_api.c
which are required to be of the new form in strict JS.  All code in ES
modules is implicitly in strict mode.

Split out from emscripten-core#24288

See emscripten-core#24060
@sbc100 sbc100 force-pushed the esm_integration_em_js branch from 694fd91 to c80eda9 Compare May 9, 2025 19:59
@sbc100 sbc100 requested a review from dschuff May 9, 2025 20:59
@sbc100 sbc100 merged commit 701494a into emscripten-core:main May 9, 2025
28 checks passed
@sbc100 sbc100 deleted the esm_integration_em_js branch May 9, 2025 22:39
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.

2 participants