From 56d93ffe628ad3bf80920a1252a76f07ee54e356 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 2 May 2019 10:16:21 +0200 Subject: [PATCH] Lucet now has a --reserved-size knob --- test/default/wasi-test-wrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/default/wasi-test-wrapper.sh b/test/default/wasi-test-wrapper.sh index 599f32c9..a94dbc49 100755 --- a/test/default/wasi-test-wrapper.sh +++ b/test/default/wasi-test-wrapper.sh @@ -11,7 +11,7 @@ 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 \ - --min-reserved-size "${MAX_MEMORY_MB}MiB" \ + --reserved-size "${MAX_MEMORY_MB}MiB" \ -o "${1}.so" --opt-level best "$1" && lucet-wasi --dir=.:. --max-heap-size "${MAX_MEMORY_MB}MiB" "${1}.so" && rm -f "${1}.so" && exit 0