wasm-tools 1.240.0

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

(assert_invalid
  (module
    (memory 0)
    (func $f)
    (elem declare func $f)
    (data (ref.func $f) ""))
  "type mismatch")

(assert_invalid
  (module
    (memory 0)
    (func $f)
    (data (ref.func $f) ""))
  "undeclared function reference")