wasm-tools 1.246.2

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 % -f memory-control

(module
  (memory $m i32 2)

  (func
    (memory.discard (i32.const 0) (i32.const 65536))
  )
  (func
    (memory.discard $m (i32.const 0) (i32.const 65536))
  )

  (func
    (memory.discard 0 (i32.const 0) (i32.const 65536))
  )
)