[Wasm] Use Node.js with canary v8 that supports recent Wasm GC changes
It's required to run wasm stdlib tests and compiler box tests with WASI. #KT-59720
This commit is contained in:
committed by
Space Team
parent
8a6fdf2493
commit
59a9855373
@@ -964,8 +964,15 @@ gradle.taskGraph.whenReady(checkYarnAndNPMSuppressed)
|
||||
|
||||
plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class) {
|
||||
extensions.configure(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension::class.java) {
|
||||
// Node.js with canary v8 that supports recent Wasm GC changes
|
||||
nodeVersion = "21.0.0-v8-canary202309167e82ab1fa2"
|
||||
nodeDownloadBaseUrl = "https://nodejs.org/download/v8-canary"
|
||||
|
||||
npmInstallTaskProvider.configure {
|
||||
args += listOf("--network-concurrency", "1", "--mutex", "network")
|
||||
// It's required to pass compatibility checks in some NPM packages while using Node.js with Canary v8.
|
||||
// TODO remove as soon as we switch to release build of Node.js.
|
||||
args += listOf("--ignore-engines")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user