Skip to content

Commit

Permalink
doc(webassembly): update build section with wasmedge
Browse files Browse the repository at this point in the history
Signed-off-by: Xin Liu <[email protected]>
  • Loading branch information
apepkuss committed Nov 25, 2022
1 parent 4e50371 commit 6a6ad10
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions docs/src/user/webassembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ There are 3 things you need to do to run a WebAssembly module with youki.
2. Build a container image with the WebAssembly module
3. Run the container with youki

## Build youki with wasm-wasmer feature flag enabled
## Build youki with `wasm-wasmedge` or `wasm-wasmer` feature flag enabled

Run `build.sh` with `-f wasm-wasmer` option.
- Run `build.sh` with `-f wasm-wasmedge` option.

```console
./script/build.sh -o -r . -f wasm-wasmer
```
```console
./script/build.sh -o -r . -f wasm-wasmedge
```

- Run `build.sh` with `-f wasm-wasmer` option.

```console
./script/build.sh -o -r . -f wasm-wasmer
```

## Build a container image with the WebAssembly module

Expand Down

0 comments on commit 6a6ad10

Please sign in to comment.