-
Notifications
You must be signed in to change notification settings - Fork 741
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
WASI support #1346
Comments
I have an old tree: https://github.com/Thomasdezeeuw/mio/tree/wasm32-wasi, but its not functional and I don't have time to work on this. |
@Thomasdezeeuw I have no experience in this codebase whatsoever so unfortunately I can't really help with this on the spot.. |
Closing this due to lack of interest. |
Can you clarify what you mean by lack of interest? As far as I can tell, this issue is blocked by missing WASI API (implementation: WebAssembly/WASI#312) Mio can't implement socket connections until it is supported by the platform. I don't know of anything else that Mio can implement which is supported by WASI today |
It's true that Mio couldn't support socket creation, but as far as I can tell it is possible to pass a socket "from the outside" to wasm and use it from there. For example Re: lack of interest. This issue has seen very little activity and I know of no development effort to port Mio (except of my own, linked previously). |
Is this permanently closed? |
@xpepermint no this issue just hasn't seen any real activity so that's why I closed it. We're still open to supporting WASM/WASI. |
FWIW, rust-lang/rust#129638 adds support for While testing early, pre-release versions of WASIp2, I created https://github.com/dicej/wasi-sockets-tests, based on experimental forks of Rust, mio, tokio, and tokio-postgres. Once Rust has full Should we reopen this issue? Or else open a new one specifically about WASIp2? |
Prs would be welcome. We do have to ensure that we don't break support for preview 1 though. |
In an effort to make tokio compatible with
wasm32-wasi
(tokio-rs/tokio#1597), it might make sense to make this crate WASI compatible aswell.The text was updated successfully, but these errors were encountered: