Running the QuickJS example fails with i/o error:
wasmer run --dir=examples/ build/qjs.wasm -- examples/hello_world.js
examples/hello_world.js: I/O error
Source: https://github.com/saghul/wasi-lab/tree/master/qjs-wasi
wasmer 0.5.6 | rustc 1.35.0 (3c235d560 2019-05-20) | x86_64
The following is printed:
Hello World
fib(10)= 55
I/O error
N/A
Hi! Thanks for reporting this!
I actually have a PR open that's rewriting and improving a ton of our WASI FS code, #555 , and I just tested it and your example works there!
The PR is getting into good shape, I'm just trying to write a lot of tests to cover as many branches of the internal logic as I can to make sure I don't break anything that's already working and to make sure we don't break them going forward.
When we ship it, we'll release a new version of Wasmer because it's a huge improvement. Optimistically that might be today, but it may be early next week.
This is fantastic news, thank you! 馃殌
This issue is now fixed on wasmer 0.5.7.
You can update wasmer locally with:
wasmer self-update
Let us know if everything is ready for publishing into wapm 馃帀
This is one is fixed, that was fast! 鉂わ笍
So quickjs seems to compiled to wasm but can't seem to load/instantiate it -> https://github.com/saghul/wasi-lab/issues/2
(tried python and ruby wasm ext libraries)