From 6c3b1492b241faf2b61be678b6b037a8f787102a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 18 Dec 2022 21:21:03 +0100 Subject: [PATCH] Running tests with Node requires --experimental-wasm-bigint --- 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 db1d3670..780f5e0e 100755 --- a/test/default/wasi-test-wrapper.sh +++ b/test/default/wasi-test-wrapper.sh @@ -45,7 +45,7 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "node" ]; then echo "wasi.start(instance);" } >"${1}.mjs" cat "${1}.mjs" >/tmp/a - node --experimental-wasi-unstable-preview1 "${1}.mjs" 2>/tmp/err && + node --experimental-wasm-bigint --experimental-wasi-unstable-preview1 "${1}.mjs" 2>/tmp/err && rm -f "${1}.mjs" && exit 0 fi fi