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
;; RUN: wast % --assert default --snapshot tests/snapshots \
;;        -f=cm-async,-cm-threading

;; thread.*
(assert_invalid
  (component
    (core func (canon thread.index))
    (core func (canon thread.new-indirect 0 (table 0)))
    (core func (canon thread.suspend-to-suspended))
    (core func (canon thread.suspend))
    (core func (canon thread.suspend-to))
    (core func (canon thread.unsuspend))
    (core func (canon thread.yield-to-suspended)))
  "requires the component model threading feature")