Skip to content

Conversation

@kleisauke
Copy link
Collaborator

The --experimental-wasm-exnref flag has been available since Node.js 22, see commit:
nodejs/node@09a8440

The `--experimental-wasm-exnref` flag has been available since
Node.js 22, see commit:
nodejs/node@09a8440
@kleisauke
Copy link
Collaborator Author

FWIW, Node.js 25 ships this unflagged (see e.g. commit nodejs/node@fff0d15). However, it's not an LTS release.

@sbc100
Copy link
Collaborator

sbc100 commented Oct 26, 2025

Can you try rebasing, a codesize update just landed.

@sbc100
Copy link
Collaborator

sbc100 commented Oct 26, 2025

One issue the consider is that because --experimental-wasm-exnref is an experimental flag, the implementation might not be correct, or it might not be correct in one version node.

I wonder if we should only consider unflagged features here in the this file?

@kleisauke
Copy link
Collaborator Author

Good question. I'm not sure what the best way to handle this is. I think there's a similar issue with Feature.JS_BIGINT_INTEGRATION, which doesn't match the versions shown on https://webassembly.org/features/ (i.e. it needs --experimental-wasm-bigint for Node.js versions before v16).

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