From e06c260d0e591667d19d93fb766edb2935e57749 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 11 Oct 2019 16:33:36 +0200 Subject: [PATCH] Lucet removed the "fast" optimization level We may drop Lucet support entirely until the interface gets more stable --- test/default/wasi-test-wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/default/wasi-test-wrapper.sh b/test/default/wasi-test-wrapper.sh index 93327070..423a7d43 100755 --- a/test/default/wasi-test-wrapper.sh +++ b/test/default/wasi-test-wrapper.sh @@ -12,8 +12,8 @@ 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 fast "$1" && - lucet-wasi --dir=.:. --max-heap-size "${MAX_MEMORY_TESTS}B" "${1}.so" && + -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