Skip to content

Mention that --turboshaft-wasm is Node.js 23.x.x only #656

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 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/project/webassembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jsEnv := {
"--experimental-wasm-exnref", // always required
"--experimental-wasm-jspi", // required for js.async/js.await
"--experimental-wasm-imported-strings", // optional (good for performance)
"--turboshaft-wasm", // optional, but significantly increases stability
"--turboshaft-wasm", // optional, Node.js 23.x.x only, but significantly increases stability
))
new NodeJSEnv(config)
},
Expand All @@ -98,7 +98,7 @@ As mentioned above, Node.js 23 and above requires the following flags:
* `--experimental-wasm-exnref`: always required
* `--experimental-wasm-jspi`: required to use `js.async`/`js.await`
* `--experimental-wasm-imported-strings`: optional (good for performance)
* `--turboshaft-wasm`: optional, bug significantly increases stability
* `--turboshaft-wasm`: optional, bug significantly increases stability. Only applies to Node.js 23.x.x: version 24.0.0 and up enables this by default, and has removed the flag.

### Chrome

Expand Down