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
;; RUN: wast --assert default --snapshot tests/snapshots % -f mvp

(assert_invalid
  (module
    (import "m0" "g0" (global (mut i32)))
  )
  "mutable global support is not enabled"
)

(assert_invalid
  (module
    (global $g0 (mut i32) (i32.const 0))
    (export "g0" (global $g0))
  )
  "mutable global support is not enabled"
)