We'd need the nightly
toolchain, and a wasm32-wasi
target. To install it, execute the following:
curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> |\\
sh -s -- --default-toolchain nightly --target wasm32-wasi
After installation, run the following so cargo is available right away
source $HOME/.cargo/env
cargo --version
cargo 1.52.0-nightly (32da9eaa5 2021-03-13)