From 556890b121dd1171665d835aba4d04a7e29e37dc Mon Sep 17 00:00:00 2001 From: Tao Xiong <114033626+TAOFOR4@users.noreply.github.com> Date: Fri, 26 Apr 2024 19:10:18 +0200 Subject: [PATCH] update new wasmtime's cli (#100) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index f73621b..358dd60 100755 --- a/build.sh +++ b/build.sh @@ -34,7 +34,7 @@ else pushd build wget --no-clobber --directory-prefix=$RUST_BUILD_DIR $FIXTURE/mobilenet.bin wget --no-clobber --directory-prefix=$RUST_BUILD_DIR $FIXTURE/mobilenet.xml - wasmtime run --mapdir fixture::$RUST_BUILD_DIR wasi-nn-example.wasm --wasi-modules=experimental-wasi-nn + wasmtime run --dir $RUST_BUILD_DIR::fixture -S nn wasi-nn-example.wasm ;; *) echo "Unknown build type $BUILD_TYPE"