1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-24 12:36:01 -07:00

lucet --dir=.:. works

Current WebAssembly runtimes status:

- wasmtime: no tests are failing.
- wasmer: 3 tests are failing:
  sodium_core, sodium_utils2, sodium_utils3
- lucet: 8 tests are failing:
  core3, pwhash_argon2i, pwhash_argon2id, secretstream, stream, stream2,
  pwhash_scrypt, pwhash_scrypt_ll
This commit is contained in:
Frank Denis 2019-04-23 00:47:43 +02:00
parent 7993e35227
commit e38128998b

View File

@ -7,5 +7,5 @@ if command -v wasmer >/dev/null; then
wasmer run "$1" --dir=. && exit 0
fi
if command -v lucetc-wasi >/dev/null && command -v lucet-wasi >/dev/null; then
lucetc-wasi -o "${1}.so" --opt-level best "$1" && lucet-wasi "$1.so" && exit 0
lucetc-wasi -o "${1}.so" --opt-level best "$1" && lucet-wasi --dir=.:. "$1.so" && exit 0
fi