mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Add wasm3 to the set of supported WebAssembly runtimes
This commit is contained in:
parent
89f3a09737
commit
d227affc63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user