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