-
Notifications
You must be signed in to change notification settings - Fork 82
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
Working WASIX API #325
Working WASIX API #325
Conversation
# Conflicts: # Cargo.lock # Cargo.toml # pkg/wasmer_wasi_js.js # pkg/wasmer_wasi_js_bg.wasm
The global `Buffer` is used for loading base64 encoded string. However, this **implicit** and **global** dependency makes some confusions and problems (#294, #305, and ruby/ruby.wasm#182). The use of `Buffer` here is limited, so we can easily replace this by using `atob` function. This simplifies user's build settings and reduces the file size since there is no need to include Buffer.
update ci
Hey @WanderLanz , this PR is awesome work. We want to add some of the bits of it back into the Wasmer repo (so it's available for anyone trying to compile Wasmer to the browser), but most of the glue things that you created look great. Really good work on updating everything, including reworking current tests. We'll probably rebase your PR with the new one once things get merged upstream. |
@syrusakbary Awesome! I'm glad it'll be of help, hopefully everything goes well. |
Hey just checking back in, it seems like @`Michael-F-Bryan already got the useful parts in the wasix branch, I'll go ahead and close this. Thank you! |
Before any consideration for merging, compatibility with
@wasmer/wasi
is broken, so the package under@wasmer/wasix
to prevent accidental breakage. No consideration was made to make it 1-1 compatible.I tried to stay as close as possible to
wasi-web
in hopes of being able to just copy/sync in the future.Added
Changed
Todo