Wasmer now needs --mapdir=./:. to load files from the current directory

This commit is contained in:
Frank Denis
2025-08-27 23:03:09 +02:00
parent e6d6321ab5
commit 110138f3cd

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}" --dir=. && exit 0
wasmer run "$1" "--${WASMER_BACKEND:-cranelift}" --mapdir=./:. && exit 0
fi
fi