Browse Source
However: - wasmer seems to have issues with signals, causing some tests to fail - lucet's --dir option doesn't seem to work with relative paths These are temporary limitations, that are likely to be fixed soon.coverity_scan
![github@pureftpd.org](/assets/img/avatar_default.png)
1 changed files with 9 additions and 2 deletions
@ -1,4 +1,11 @@ |
|||
#! /bin/sh |
|||
|
|||
wasmtime -o --dir=. "$1" |
|||
|
|||
if command -v wasmtime >/dev/null; then |
|||
wasmtime -o --dir=. "$1" && exit 0 |
|||
fi |
|||
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 |
|||
fi |
|||
|
Loading…
Reference in new issue