Quantcast
Viewing latest article 1
Browse Latest Browse All 100

Using no standard library crates with Webassembly

When working with Rust + Webassembly, you might want to use some crates in your project. Not all crates work out of the box with Webassembly yet, especially those that rely on System Libraries, File I/O, Networking, etc. With proposals such as WASI or WebAssembly Interface Types, these might work eventually but it isn’t the case yet.

The Rust Wasm book suggests: A good rule of thumb is that if a crate supports embedded and #![no_std] usage, it probably also supports WebAssembly.

Viewing latest article 1
Browse Latest Browse All 100

Trending Articles