From 05a445a356f22cfa5c26cc0075f8eb2e7b962533 Mon Sep 17 00:00:00 2001 From: Christopher Serr Date: Sun, 24 Sep 2023 15:12:41 +0200 Subject: [PATCH 1/2] Update some features Chrome, wasmtime and wasmer were a little outdated / inaccurate. --- features.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features.json b/features.json index df0937d6..d59664f7 100644 --- a/features.json +++ b/features.json @@ -107,7 +107,7 @@ "multiMemory": ["flag", "Requires flag `chrome://flags/#enable-experimental-webassembly-features`"], "multiValue": "85", "mutableGlobals": "74", - "relaxedSimd": ["flag", "Requires flag `chrome://flags/#enable-experimental-webassembly-features`"], + "relaxedSimd": "114", "referenceTypes": "96", "saturatedFloatToInt": "75", "signExtensions": "74", @@ -168,11 +168,12 @@ "multiValue": "0.17", "mutableGlobals": true, "referenceTypes": "0.20", + "relaxedSimd": ["flag", "Requires flag `--wasm-features=relaxed-simd`"], "saturatedFloatToInt": true, "signExtensions": true, "simd": "0.33", "tailCall": ["flag", "Requires flag `--wasm-features=tail-call`"], - "threads": null + "threads": ["flag", "Requires flag `--wasm-features=threads`"] } }, "Wasmer": { @@ -187,7 +188,6 @@ "saturatedFloatToInt": true, "signExtensions": true, "simd": "2.0", - "threads": null, "typeReflection": "2.0" } }, From 23cf2054344ce89c328ee219f393aa624cd7599c Mon Sep 17 00:00:00 2001 From: Christopher Serr Date: Sun, 24 Sep 2023 15:23:24 +0200 Subject: [PATCH 2/2] JSPI isn't applicable to native runtimes Runtimes that don't target JavaScript don't need to support JSPI. --- features.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/features.json b/features.json index d59664f7..c8b3c3ea 100644 --- a/features.json +++ b/features.json @@ -163,6 +163,7 @@ "features": { "bigInt": null, "bulkMemory": "0.20", + "jspi": null, "memory64": ["flag", "Requires flag `--wasm-features=memory64`"], "multiMemory": ["flag", "Requires flag `--wasm-features=multi-memory`"], "multiValue": "0.17", @@ -182,6 +183,7 @@ "features": { "bigInt": null, "bulkMemory": "1.0", + "jspi": null, "multiValue": "1.0", "mutableGlobals": "0.7", "referenceTypes": "2.0", @@ -243,6 +245,7 @@ "bulkMemory": "1.0.30", "exceptions": ["flag", "Requires flag `--enable-exceptions`"], "extendedConst": ["flag", "Requires flag `--enable-extended-const`"], + "jspi": null, "memory64": ["flag", "Requires flag `--enable-memory64`"], "multiMemory": ["flag", "Requires flag `--enable-multi-memory`"], "multiValue": "1.0.24",