mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 12:36:01 -07:00
Lucet requires --min-reserved-size or tests with large allocations will fail
This commit is contained in:
parent
e38128998b
commit
2277e7f4f0
@ -7,5 +7,8 @@ if command -v wasmer >/dev/null; then
|
|||||||
wasmer run "$1" --dir=. && exit 0
|
wasmer run "$1" --dir=. && exit 0
|
||||||
fi
|
fi
|
||||||
if command -v lucetc-wasi >/dev/null && command -v lucet-wasi >/dev/null; then
|
if command -v lucetc-wasi >/dev/null && command -v lucet-wasi >/dev/null; then
|
||||||
lucetc-wasi -o "${1}.so" --opt-level best "$1" && lucet-wasi --dir=.:. "$1.so" && exit 0
|
lucetc-wasi \
|
||||||
|
--min-reserved-size "128MiB" \
|
||||||
|
-o "${1}.so" --opt-level best "$1" &&
|
||||||
|
lucet-wasi --dir=.:. "$1.so" && exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user