-
Notifications
You must be signed in to change notification settings - Fork 276
WASI is compatible with all Rust crates? #80
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
Comments
not all rust crates, but probably most rust crates. it's more of a question of what rust's stdlib supports (with the exception of stuff like random). |
It is important to note that WASI is not yet standardized, so any final answer to this question is impossible until it is. It is also important to note that certain crates are built specifically for certain platforms, i.e. posix or windows. While wasi aims to create a "conceptual operating system" that attempts to be able to emulate most operating systems, it will certainly not support every possible syscall. So to (maybe) answer your question: most rust crates that are pure logic should work -- which is probably most rust crates. |
Quite interesting topic. I am learning rust and wasm these days, and here are some conclusions from my side:
|
Agree. All rust crates not supported. But most of crates having webassembly support i.e |
@AchalaSB If I get it right, if I want to try some system programming with wasi, the best option is |
@leonwanghui yes in that case try with wasi. |
Found some issues on |
WASI doesn't currently have general networking support. We're aware this is an important feature and are working on it. |
Hey,
I'm planning to use WASI to compile my Rust code. But my question is if I use WASI, is it compatible to all rust crates?
Or is there any list to which and all crates WASI is supporting?
I think those crates which is having
wasm32-unknown-unknown
support will execute.Thanks,
Achala
The text was updated successfully, but these errors were encountered: