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

Update wasi-test-wrapper: SSVM was renamed to WasmEdge (#1179)

This commit is contained in:
Yi 2022-05-12 18:36:11 +08:00 committed by GitHub
parent 0124c4cddb
commit fbc070487e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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