[Wasm] Bump SpiderMonkey jsshell version

Experimental flags --wasm-function-references --wasm-gc are removed.
GC is enabled by default with final subtype support.
This commit is contained in:
Svyatoslav Kuzmich
2023-12-11 16:12:54 +01:00
committed by Space Team
parent af23706a9a
commit 2b4d1b0fb1
3 changed files with 12 additions and 14 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ repositories {
ivy {
url = URI("https://archive.mozilla.org/pub/firefox/nightly/")
patternLayout {
artifact("2023/09/[revision]/[artifact]-[classifier].[ext]")
artifact("2023/12/[revision]/[artifact]-[classifier].[ext]")
}
metadataSources { artifact() }
content { includeModule("org.mozilla", "jsshell") }
@@ -44,7 +44,7 @@ val currentOsType = run {
}
val jsShellVersion = "2023-09-20-09-21-12-mozilla-central"
val jsShellVersion = "2023-12-08-21-57-22-mozilla-central"
val jsShellSuffix = when (currentOsType) {
OsType(OsName.LINUX, OsArch.X86_32) -> "linux-i686"
OsType(OsName.LINUX, OsArch.X86_64) -> "linux-x86_64"
@@ -53,9 +53,7 @@ internal sealed class WasmVM(val shortName: String) {
tool.run(
*toolArgs.toTypedArray(),
"--wasm-verbose",
"--wasm-gc",
*if (disableExceptionHandlingIfPossible) arrayOf("--no-wasm-exceptions") else emptyArray(),
"--wasm-function-references",
*jsFiles.flatMap { listOf("-f", it) }.toTypedArray(),
"--module=$entryMjs",
workingDirectory = workingDirectory,