Browse Source

Add support for node via wasmer-js

V8 doesn't seem to be currently willing to load the metamorphic test.
master
Frank Denis 5 years ago
parent
commit
65621a1059
  1. 6
      test/default/wasi-test-wrapper.sh

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

@ -34,5 +34,11 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "lucet" ]; then
fi
fi
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmer-js" ]; then
if command -v wasmer-js >/dev/null; then
wasmer-js run "$1" --dir=. && exit 0
fi
fi
echo "WebAssembly runtime failed" >&2
exit 1

Loading…
Cancel
Save