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
14
15
16
17
;; RUN: wast --assert default --snapshot tests/snapshots %

(assert_invalid
  (component
    (import "f" (func $f (param "x" (list u8))))
    (core func $f (canon lower (func $f)
    ))
  )
  "canonical option `memory` is required")

(assert_invalid
  (component
    (import "f" (func $f (result (list u8))))
    (core func $f (canon lower (func $f)
    ))
  )
  "canonical option `memory` is required")