mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 20:45:17 -07:00
Merge branch 'master' of github.com:jedisct1/libsodium
* 'master' of github.com:jedisct1/libsodium: Add support for node via wasmer-js
This commit is contained in:
commit
b999be92e7
@ -34,5 +34,11 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "lucet" ]; then
|
|||||||
fi
|
fi
|
||||||
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
|
echo "WebAssembly runtime failed" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user