wasm-tools 1.248.0

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

(assert_malformed
  (module binary
    "\00asm\01\00\00\00"

    "\01\01\00" ;; type section, 1 byte, 0 entries
    "\0b\01\00" ;; data section, 1 byte, 0 entries
    "\01\01\00" ;; type section, 1 byte, 0 entries
  )
  "section out of order")