Summary
In this chapter, we saw how to install Rust using rustup
. rustup
helps us to install, update, remove, and switch different versions of Rust. We saw how rustc
works and then converted Rust into WebAssembly using rustc
. After that, we explored Cargo, the package manager for Rust. Finally, we installed wasm-bindgen
and compiled Rust code into a WebAssembly module using wasm-bindgen
.
In the next chapter, we will explore what wasm-pack
is and how it helps to build and pack WebAssembly modules.