Rust and Cargo 1 · Projects and toolchain
Add a compilation target
Install the standard library for another target, here WebAssembly.
rustup target add wasm32-unknown-unknown
Official Rust and Cargo 1 documentation
More projects and toolchain commands
- Check the Rust version
- Update Rust
- Create a new binary project
- Create a new library
- Initialize Cargo in the current folder
- Install clippy and rustfmt
All projects and toolchain commands · Rust and Cargo 1 cheatsheet