Temporarily remove support for Lucet
Lucet doesn't work on MacOS any more, so testing it has become difficult.
This commit is contained in:
parent
8f37dcac04
commit
f20e6fdad2
@ -14,15 +14,5 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmer" ]; then
|
|||||||
fi
|
fi
|
||||||
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 \
|
|
||||||
--reserved-size "${MAX_MEMORY_TESTS}" \
|
|
||||||
-o "${1}.so" --opt-level 2 "$1" &&
|
|
||||||
lucet-wasi --dir=.:. --max-heap-size "${MAX_MEMORY_TESTS}" "${1}.so" &&
|
|
||||||
rm -f "${1}.so" && exit 0
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "WebAssembly runtime failed" >&2
|
echo "WebAssembly runtime failed" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user