wasmer syntax for volumes seems to have changed

This commit is contained in:
Frank Denis
2026-07-08 22:13:15 +02:00
parent 83ee4408b7
commit 962bda2168
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -188,7 +188,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
@@ -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}" --volume=./:. && exit 0
wasmer run "--${WASMER_BACKEND:-cranelift}" --volume="$(pwd):/" "$1" && exit 0
fi
fi