1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 18:15:18 -07:00

Add wasm3 to the set of supported WebAssembly runtimes

This commit is contained in:
Frank Denis 2020-02-04 19:52:25 +01:00
parent 89f3a09737
commit d227affc63

View File

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