wasm-tools 1.248.0

CLI tools for interoperating with WebAssembly files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
;; RUN: wast --assert default --snapshot tests/snapshots %

(assert_malformed
  (module quote
    "(func block (type 2))"
  )
  "control frames remain at end of function body or expression")

(assert_invalid
  (module
    (func block (type 2) end)
  )
  "type index out of bounds")