Latest libsodium-1.0.18-stable.tar.gz.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3929 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
11
deps/libsodium/test/default/wasi-test-wrapper.sh
vendored
11
deps/libsodium/test/default/wasi-test-wrapper.sh
vendored
@ -39,11 +39,12 @@ if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "iwasm" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "ssvm" ]; then
|
||||
if command -v ssvmc >/dev/null && command -v ssvm >/dev/null; then
|
||||
ssvmc "$1" "${1}.so" &&
|
||||
ssvm --dir=.:. "${1}.so" &&
|
||||
rm -f "${1}.so"
|
||||
if [ -z "$WASI_RUNTIME" ] || [ "$WASI_RUNTIME" = "wasmedge" ]; then
|
||||
if command -v wasmedgec >/dev/null && command -v wasmedge >/dev/null; then
|
||||
wasmedgec "$1" "${1}.so" &&
|
||||
wasmedge --dir=.:. "${1}.so" &&
|
||||
rm -f "${1}.so" &&
|
||||
exit 0
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user