add build and run script

This commit is contained in:
2020-01-30 21:46:05 +08:00
parent 626aeea4e1
commit a0af96c766
2 changed files with 3 additions and 0 deletions

2
wasi/build.sh Executable file
View File

@@ -0,0 +1,2 @@
cargo build --target=wasm32-wasi

1
wasi/run.sh Executable file
View File

@@ -0,0 +1 @@
wasmtime --dir=. target/wasm32-wasi/debug/wasi.wasm