wasmtime-cli 43.0.1

Command-line interface for Wasmtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Reference Tests

This directory contains Component Model reference tests, grouped by functionality.

## Running in Wasmtime

(Until the `component-model-async` and `component-model-async-builtins` features
are enabled by default, they must be explicitly enabled as shown below.)

A single `.wast` test can be run with full backtrace on trap via:
```
WASMTIME_BACKTRACE_DETAILS=1 wasmtime wast -W component-model-async=y -W component-model-async-builtins=y -W component-model-threading=y -W component-model-async-stackful=y -W exceptions=y the-test.wast
```
All the tests can be run from this directory via:
```
find . -name "*.wast" | xargs wasmtime wast -W component-model-async=y -W component-model-async-builtins=y -W component-model-threading=y -W component-model-async-stackful=y -W exceptions=y
```