Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2e9fd3

Browse files
committed
Wasm: Remove the --turboshaft-wasm option for Node.js 24.
Between Node.js 23 and 24, `--turboshaft-wasm` became the default *änd* was removed as a command-line argument. With the upgrade of our CI infrastructure to Node.js 24, we must therefore remove that flag.
1 parent 64d72e1 commit c2e9fd3

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

DEVELOPING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ in the [Javalib documentation](./JAVALIB.md)*** .
99

1010
Scala.js is entirely built with [sbt](https://www.scala-sbt.org/), and also
1111
requires [Node.js](https://nodejs.org/en/) to be installed. For complete
12-
support, Node.js >= 13.2.0 is required.
12+
support, Node.js >= 24.0.0 is required.
1313

1414
The first time, or in the rare events where `package.json` changes
1515
([history](https://github.com/scala-js/scala-js/commits/main/package.json)),

partest/src/main/scala/scala/tools/nsc/MainGenericRunner.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ class MainGenericRunner {
139139
NodeJSEnv.Config().withArgs(List(
140140
"--experimental-wasm-exnref",
141141
"--experimental-wasm-imported-strings", // for JS string builtins
142-
/* Force using the Turboshaft infrastructure for the optimizing compiler.
143-
* It appears to be more stable for the Wasm that we throw at it.
144-
* See also the use of this flag in Build.scala.
145-
*/
146-
"--turboshaft-wasm"
147142
))
148143
}
149144

project/Build.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,6 @@ object MyScalaJSPlugin extends AutoPlugin {
242242
"--experimental-wasm-exnref",
243243
"--experimental-wasm-imported-strings", // for JS string builtins
244244
"--experimental-wasm-jspi", // for JSPI, used by async/await
245-
/* Force using the Turboshaft infrastructure for the optimizing compiler.
246-
* It appears to be more stable for the Wasm that we throw at it.
247-
* If you remove it, try running `scalaTestSuite2_13/test` with Wasm.
248-
* See also the use of this flag in MainGenericRunner.scala.
249-
*/
250-
"--turboshaft-wasm",
251245
))
252246
} else {
253247
baseConfig

0 commit comments

Comments
 (0)