Browse Source

Run wasm-opt -O4

master
Frank Denis 5 years ago
parent
commit
c9e95c59bd
  1. 4
      test/default/wasi-test-wrapper.sh

4
test/default/wasi-test-wrapper.sh

@ -2,6 +2,10 @@
MAX_MEMORY_TESTS="67108864"
if command -v wasm-opt >/dev/null; then
wasm-opt -O4 -o "${1}.tmp" "$1" && mv -f "${1}.tmp" "$1"
fi
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wavm" ]; then
if command -v wavm >/dev/null; then
wavm run --abi=wasi "$1" && exit 0

Loading…
Cancel
Save