Frank Denis
65621a1059
Add support for node via wasmer-js
V8 doesn't seem to be currently willing to load the metamorphic test.
5 years ago
Frank Denis
c9e95c59bd
Run wasm-opt -O4
5 years ago
Frank Denis
b40674e29a
Add support for WAVM as a WebAssembly runtime
5 years ago
Frank Denis
c638d25583
Try Lucet as a last option, after wasmer, due to its unstable interface
5 years ago
Frank Denis
da75f6824b
Lucet removed the "fast" optimization level
We may drop Lucet support entirely until the interface gets more stable
5 years ago
Frank Denis
aaaaf7b8b8
Units are not required any more for Lucet
5 years ago
Frank Denis
55a81d9460
lucetc-wasi requires units with --max-heap-size
5 years ago
Frank Denis
922e91a7bf
lucetc will eventually use --opt-level fast instead of --opt-level best
5 years ago
Frank Denis
91c98bad15
lucet seems to accept sizes without a suffix
5 years ago
Frank Denis
06f331d153
Use the same memory limit everywhere
5 years ago
Frank Denis
56d93ffe62
Lucet now has a --reserved-size knob
5 years ago
Frank Denis
cec56d867f
Lucet: set min-reserved-size to the same value as max-heap-size
If <min-reserved-size> is less than <max-heap-size>, the code will
still assume that only <min-reserved-size> bytes are accessible and
will trap even if the runtime could allocate more..
So, `max` should always be <= `min`. Naming options is hard.
5 years ago
Frank Denis
3fde7349e1
Clarify that --min-reserved-size surprisingly sets the max memory
5 years ago
Frank Denis
05c86927f4
Remove temporary files
5 years ago
Frank Denis
fbe5d52a81
Spaces
5 years ago
Frank Denis
ff88392d8c
Make the WASI backend configurable
5 years ago
Frank Denis
2277e7f4f0
Lucet requires --min-reserved-size or tests with large allocations will fail
5 years ago
Frank Denis
e38128998b
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
5 years ago
Frank Denis
7993e35227
Try wasmer and lucet as alternatives to wasmtime
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.
5 years ago
Frank Denis
a7ebe2856f
Turn on wasmtime optimizations
5 years ago
Frank Denis
9dbf03c115
Run the WASI checks using wasmtime
5 years ago