Skip to content

Commit ff12850

Browse files
authored
Merge pull request #656 from natsukagami/patch-1
Mention that `--turboshaft-wasm` is Node.js 23.x.x only
2 parents fef7485 + 9399375 commit ff12850

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/project/webassembly.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jsEnv := {
7878
"--experimental-wasm-exnref", // always required
7979
"--experimental-wasm-jspi", // required for js.async/js.await
8080
"--experimental-wasm-imported-strings", // optional (good for performance)
81-
"--turboshaft-wasm", // optional, but significantly increases stability
81+
"--turboshaft-wasm", // optional, Node.js 23.x.x only, but significantly increases stability
8282
))
8383
new NodeJSEnv(config)
8484
},
@@ -98,7 +98,7 @@ As mentioned above, Node.js 23 and above requires the following flags:
9898
* `--experimental-wasm-exnref`: always required
9999
* `--experimental-wasm-jspi`: required to use `js.async`/`js.await`
100100
* `--experimental-wasm-imported-strings`: optional (good for performance)
101-
* `--turboshaft-wasm`: optional, bug significantly increases stability
101+
* `--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.
102102

103103
### Chrome
104104

0 commit comments

Comments
 (0)