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
@@ -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