Skip to content

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

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:esm_integration_em_js
May 9, 2025
Merged

sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:esm_integration_em_js

Conversation

@sbc100

@sbc100 sbc100 commented May 9, 2025

Copy link
Copy Markdown
Collaborator

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
@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