Lucet has reached EOL

This commit is contained in:
Frank Denis 2022-01-22 23:34:01 +01:00
parent 7d67f1909b
commit 89b2d420d4

View File

@ -69,17 +69,5 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmer-js" ]; then
fi
fi
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "lucet" ]; then
if command -v lucetc-wasi >/dev/null && command -v lucet-wasi >/dev/null; then
lucetc-wasi \
--target-cpu native \
--reserved-size "4GiB" \
--opt-level speed \
"$1" -o "${1}.so" &&
lucet-wasi --dir=.:. --max-heap-size "${MAX_MEMORY_TESTS}" "${1}.so" &&
rm -f "${1}.so" && exit 0
fi
fi
echo "WebAssembly runtime failed" >&2
exit 1