wasmer syntax for volumes seems to have changed

This commit is contained in:
Frank Denis
2026-07-08 21:56:14 +02:00
parent d4c60aee3e
commit 66360d57df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ jobs:
for wasm in *.wasm; do
name="${wasm%.wasm}"
echo "[$name]"
if ! wasmer run "$wasm" --volume=./:. 2>&1; then
if ! wasmer run --volume="$(pwd):/" "$wasm" 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}" --volume=./:. && exit 0
wasmer run "--${WASMER_BACKEND:-cranelift}" --volume="$(pwd):/" "$1" && exit 0
fi
fi