Introduction

The cargo-wasi project is a subcommand for Cargo which provides a convenient set of defaults for building and running Rust code on the wasm32-wasi target. The cargo wasi command makes compiling Rust code to WASI buttery-smooth with built-in defaults to avoid needing to manage a myriad of tools as part of building a wasm executable.

WASI is a developing standard and we hope to make it very easy to develop Rust code for WASI to both influence the standard as well as ensure that Rust code follows WASI best practices. Keep reading for more information about how this all works!