wasm-tools 1.240.0

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

;; This relies on the reference-types proposal to check that shared function
;; parameters are not allowed without the shared-everything-threads proposal.
(assert_invalid
  (module
    (func (param $f (ref null (shared func)))
      drop)
  )
  "shared reference types require the shared-everything-threads proposal")