Skip to content

Commit c0f8352

Browse files
authored
feat: update watr v4.3.0 feature support (#533)
Adds features introduced in watr v4.3.0: - **Custom Descriptors** (Phase 3) — `descriptor`/`describes` types, `exact` heap types, new descriptor cast/branch instructions - **Stack Switching** (Phase 3) — `cont` type, `cont.new`, `cont.bind`, `suspend`, `resume`, `resume_throw`, `switch` - **Custom Page Sizes** (Phase 3) — `(pagesize N)` attribute on memory declarations - **Compact Import Section** (Phase 3) — grouped `(import "mod" (item …)*)` syntax - **Numeric Values in WAT** (Phase 2) — typed `i8`/`i16`/`i32`/`i64`/`f32`/`f64` values in data segments Also adds missing entries for features not supported (`exceptions: false`, `compilationHints: null`, `extendedNameSection: null`).
1 parent 9b03c10 commit c0f8352

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

features.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -873,10 +873,16 @@
873873
"bigInt": true,
874874
"branchHinting": true,
875875
"bulkMemory": true,
876+
"compactImportSection": true,
877+
"compilationHints": null,
876878
"customAnnotationSyntaxInTheTextFormat": true,
879+
"customDescriptors": true,
880+
"customPageSizes": true,
877881
"esmIntegration": null,
882+
"exceptions": false,
878883
"exceptionsFinal": true,
879884
"extendedConst": true,
885+
"extendedNameSection": null,
880886
"gc": true,
881887
"jsPrimitiveBuiltins": null,
882888
"jsStringBuiltins": true,
@@ -885,11 +891,13 @@
885891
"multiMemory": true,
886892
"multiValue": true,
887893
"mutableGlobals": true,
894+
"numericValuesInWat": true,
888895
"referenceTypes": true,
889896
"relaxedSimd": true,
890897
"saturatedFloatToInt": true,
891898
"signExtensions": true,
892899
"simd": true,
900+
"stackSwitching": true,
893901
"tailCall": true,
894902
"threads": true,
895903
"typedFunctionReferences": true,

0 commit comments

Comments
 (0)