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

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