Skip to content

Conversation

@brendandahl
Copy link
Collaborator

@brendandahl brendandahl commented Jan 6, 2026

During TS generation we forced the environment to node only which doesn't work with some preprocessor guards, such as in libworkerfs.js. Instead of forcing node only, append node so the guards still pass.

Fixes #26046

During TS generation we forced the environment to node only which
doesn't work with some preprocessor guards, such as in libworkerfs.js.
Instead of forcing node only, append node so the guards still pass.

Fixes emscripten-core#26046
@brendandahl brendandahl requested review from kripken and sbc100 January 6, 2026 23:00
@brendandahl brendandahl merged commit 2747b2a into emscripten-core:main Jan 7, 2026
33 of 35 checks passed
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.

Embind TSD generation overwrites ENVIRONMENT to ['node']

2 participants