From ba3deae9b4fbad724933b4211dc68ea57669e6a7 Mon Sep 17 00:00:00 2001 From: Sam Estep Date: Tue, 6 Feb 2024 15:48:15 -0500 Subject: [PATCH] Update Node status for GC (#369) As of Node.js v22.0.0-nightly20240104084d761dfc (Jan 5, 2024), node is updated to v8 11.9.169.7, which supports GC by default with the final binary encoding (which is not compatible with previous unreleased versions). So any version of node v22 and above built after this date should work with no flags, and any previous version will not work with current tools, even with a flag. --- features.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features.json b/features.json index 095fb14c..8d68352f 100644 --- a/features.json +++ b/features.json @@ -201,7 +201,7 @@ "bulkMemory": "12.5", "exceptions": "17.0", "extendedConst": ["flag", "Requires flag `--experimental-wasm-extended-const`"], - "gc": ["flag", "Requires flag `--experimental-wasm-gc`"], + "gc": "22.0", "jspi": ["flag", "Requires flag `--experimental-wasm-stack-switching`"], "memory64": ["flag", "Requires flag `--experimental-wasm-memory64`"], "multiMemory": ["flag", "Requires flag `--experimental-wasm-multi-memory`"],