From 44f1c13a361bfa999a0707a2251c6665f8ef032f Mon Sep 17 00:00:00 2001 From: Xin Liu Date: Wed, 30 Nov 2022 10:14:40 +0800 Subject: [PATCH] doc(webassembly): update wasmedge Signed-off-by: Xin Liu --- docs/src/user/webassembly.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/user/webassembly.md b/docs/src/user/webassembly.md index 549c16e3e..0884038bf 100644 --- a/docs/src/user/webassembly.md +++ b/docs/src/user/webassembly.md @@ -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.