Commit c0f8352
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
873 | 873 | | |
874 | 874 | | |
875 | 875 | | |
| 876 | + | |
| 877 | + | |
876 | 878 | | |
| 879 | + | |
| 880 | + | |
877 | 881 | | |
| 882 | + | |
878 | 883 | | |
879 | 884 | | |
| 885 | + | |
880 | 886 | | |
881 | 887 | | |
882 | 888 | | |
| |||
885 | 891 | | |
886 | 892 | | |
887 | 893 | | |
| 894 | + | |
888 | 895 | | |
889 | 896 | | |
890 | 897 | | |
891 | 898 | | |
892 | 899 | | |
| 900 | + | |
893 | 901 | | |
894 | 902 | | |
895 | 903 | | |
| |||
0 commit comments