Skip to content

Move NODE_CODE_CACHING check to INCOMPATIBLE_SETTINGS - #27734

Merged
sbc100 merged 1 commit into
emscripten-core:mainfrom
sbc100:NODE_CODE_CACHING
Sep 17, 2026
Merged

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

Conversation

@sbc100

@sbc100 sbc100 commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Move the WASM_ASYNC_COMPILATION incompatibility check for NODE_CODE_CACHING from tools/link.py to INCOMPATIBLE_SETTINGS in tools/settings.py (following up on #27670).

Also remove the ENVIRONMENT_MAY_BE_NODE error check for NODE_CODE_CACHING in tools/link.py. This allows the existing unused-command-line-argument warning (added in #18820) to be reached when node is not in ENVIRONMENT, matching the behavior of NODERAWFS and NODERAWSOCKETS.

Move the `WASM_ASYNC_COMPILATION` incompatibility check for
`NODE_CODE_CACHING` from `tools/link.py` to `INCOMPATIBLE_SETTINGS` in
`tools/settings.py` (following up on emscripten-core#27670).

Also remove the `ENVIRONMENT_MAY_BE_NODE` error check for
`NODE_CODE_CACHING` in `tools/link.py`. This allows the existing
`unused-command-line-argument` warning (added in emscripten-core#18820) to be reached
when `node` is not in `ENVIRONMENT`, matching the behavior of
`NODERAWFS` and `NODERAWSOCKETS`.
@sbc100
sbc100 requested a review from kripken September 17, 2026 15:35
@sbc100
sbc100 merged commit 9f89ae0 into emscripten-core:main Sep 17, 2026
42 checks passed
@sbc100
sbc100 deleted the NODE_CODE_CACHING branch September 17, 2026 18:32
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