diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e3f81eb6..cdba7a8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -197,7 +197,7 @@ jobs: for wasm in *.wasm; do name="${wasm%.wasm}" echo "[$name]" - if ! wasmer run "$wasm" --mapdir=./:. 2>&1; then + if ! wasmer run "$wasm" --volume=./:. 2>&1; then echo "*** [$name] FAILED" >&2 failed=1 fi diff --git a/test/default/wasi-test-wrapper.sh b/test/default/wasi-test-wrapper.sh index 20ea7031..028f2789 100755 --- a/test/default/wasi-test-wrapper.sh +++ b/test/default/wasi-test-wrapper.sh @@ -19,7 +19,7 @@ fi if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmer" ]; then if command -v wasmer >/dev/null; then - wasmer run "$1" "--${WASMER_BACKEND:-cranelift}" --mapdir=./:. && exit 0 + wasmer run "$1" "--${WASMER_BACKEND:-cranelift}" --volume=./:. && exit 0 fi fi