Skip to content

Commit

Permalink
runtimes/native/README.md: document WASM_BACKEND option
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Sep 25, 2024
1 parent 82caf6d commit f9809af
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions runtimes/native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ cmake -B build
cmake --build build
```

By default, it uses [wasm3] as a WebAssembly runtime.
Alternatively, you can use [toywasm] instead by setting
the `WASM_BACKEND` cmake option:

```shell
cmake -B build -DWASM_BACKEND=toywasm
cmake --build build
```

[wasm3]: https://github.com/wasm3/wasm3
[toywasm]: https://github.com/yamt/toywasm

Running:

```shell
Expand Down

0 comments on commit f9809af

Please sign in to comment.