1
0
mirror of https://github.com/containers/youki synced 2024-09-28 15:01:29 +02:00

doc(webassembly): update wasmedge

Signed-off-by: Xin Liu <sam@secondstate.io>
This commit is contained in:
Xin Liu 2022-11-30 10:14:40 +08:00
parent e6c1e77d5c
commit 44f1c13a36

@ -13,6 +13,16 @@ There are 3 things you need to do to run a WebAssembly module with youki.
```console
./script/build.sh -o -r . -f wasm-wasmedge
```
> The `wasm-wasmedge` feature will install WasmEdge Runtime library in the `$HOME/.wasmedge` directory.
> To make the library avaible in your system, run the following command:
> ```bash
> export LD_LIBRARY_PATH=$HOME/.wasmedge/lib
> ```
> or
> ```bash
> source $HOME/.wasmedge/env
> ```
>
- Run `build.sh` with `-f wasm-wasmer` option.