Parent: #366
Related: #263, #267, #134
The exact wg-3.0 audit exposed the remaining extended-constant-expression gap. zig-js now retains, validates, and evaluates the Core 3 integer arithmetic subset in every initializer context.
Exact affected roots at WebAssembly/spec@9d36019973201a19f9c9ebb0f10828b2fe2374aa:
Acceptance:
Evidence:
Landed on main:
Parent: #366
Related: #263, #267, #134
The exact
wg-3.0audit exposed the remaining extended-constant-expression gap. zig-js now retains, validates, and evaluates the Core 3 integer arithmetic subset in every initializer context.Exact affected roots at
WebAssembly/spec@9d36019973201a19f9c9ebb0f10828b2fe2374aa:test/core/data.wast: all 65 commands pass.test/core/global.wast: all 121 applicable commands pass; 3 text-format commands are N/A.test/core/elem.wast: every extended-expression command passes; the file is 146/151 with only five unrelated WebAssembly Core 3: reconcile element and reference import subtyping #389 subtyping cases remaining.Acceptance:
global.get, index bounds, and constant-expression restrictions exactly.Evidence:
Landed on
main:e21930b0feat(wasm): execute Core 3 constant expressions (WebAssembly Core 3: execute extended constant expressions #387)b4cd0f91ci(wasm): gate Core 3 constant expressions (WebAssembly Core 3: execute extended constant expressions #387)ddbe607adocs(wasm): update Core 3 audit evidence (WebAssembly Core 3: add an exact wg-3.0 conformance profile #366)