wasmer: --mapdir= was renamed to --volume=

This commit is contained in:
Frank Denis
2026-03-15 12:33:11 +01:00
parent eabccb959f
commit 7c6843a2d5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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