-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for WASIX and published it to Wasmer! #132
base: main
Are you sure you want to change the base?
Conversation
How can I use it in browser? I got an error like:
|
Hi @syrusakbary, thanks for this interesting work! I'm fine with most changes, but what is your motivation for your changes to |
Yes, thanks to the new released Wasmer SDK you can simply use the
The main reason is that otherwise the Wasm file generated was not runnable by the runtime (it was generating a wasm file with functions too big to be processed by the Wasm runtime).
That makes complete sense. I'll fix that! Also, @01mf02 do you have an account in Wasmer so I can add you as admin to the package as well? |
I thought something like this. Is there a way to specify these flags so that they are only used for the WASM build?
Great!
I just created one. It's called 01mf02. :) |
@syrusakbary, I might have found a partial way towards running WASM builds with different flags. On this article, I found the following syntax:
So we could make a profile "wasm" or something like that, let it inherit "release" and then set whatever other flags it needs. |
First of all, congrats on the awesome work... love what you are doing!
I compiled the project to WASIX to allow running
jaq
anywhere via WebAssembly (even on the browser!). I also published under jaq/jaq in Wasmer (please let me know if you have a Wasmer username so I can add you to the namespace).This PR is fairly simple, but it allows running jaq just with
wasmer
:I'm happy to add CI integration as well, so it's automatically published in the future. Just let me know!