tests/cli/missing-features/component-model/threading.wast
raw| 1 | ;; RUN: wast % --assert default --snapshot tests/snapshots \ |
| 2 | ;; -f=cm-async,-cm-threading |
| 3 | |
| 4 | ;; thread.* |
| 5 | (assert_invalid |
| 6 | (component |
| 7 | (core func (canon thread.index)) |
| 8 | (core func (canon thread.new_indirect 0 (table 0))) |
| 9 | (core func (canon thread.switch-to)) |
| 10 | (core func (canon thread.suspend)) |
| 11 | (core func (canon thread.resume-later)) |
| 12 | (core func (canon thread.yield-to))) |
| 13 | "requires the component model threading feature") |