Marcus Nilsson
21c827e8af
LibWasm: Parse and validate array types
...
This patch makes this parse
```wat
(module
(type $a (array i32))
)
```
2026-02-10 13:00:16 +01:00
Marcus Nilsson
bfa51c2555
LibWasm: Parse struct types and support multiple types in type section
...
This patch adds support for parsing structs in the type section.
It also removes the assumption that all types in the type section are
function types, adding appropriate validation.
Spec tests struct.3 and struct.4 have been disable as this would
require expanding `ValueType` to include more heap-types.
2026-02-04 14:29:22 +01:00
Ali Mohammad Pur
651c64ebac
LibWasm: Better handle oversized table allocation requests
2025-12-12 19:12:53 +01:00
Ali Mohammad Pur
92c0cbc453
LibWasm+LibWeb: Stub wasm-gc's heap reference types
...
WPT inserts these into all modules regardless of whether they're used,
so let's just parse and ignore them.
2025-10-15 01:26:29 +02:00
Ali Mohammad Pur
d99f663b1a
LibWasm: Implement parsing/validation for proposal exception-handling
...
Actual execution traps for now.
2025-10-15 01:26:29 +02:00
Ali Mohammad Pur
39b637a446
LibWasm+LibWeb: Throw a js stack-overflow error if wasm stack overflows
...
Follows the spec.
2025-05-22 07:35:58 +01:00
Timothy Flynn
93712b24bf
Everywhere: Hoist the Libraries folder to the top-level
2024-11-10 12:50:45 +01:00