Install Rust

EOSIO Rust works with stable Rust 1.31 and above.

Install Rust with rustup per the official instructions:

curl https://sh.rustup.rs -sSf | sh

We will also need the wasm32-unknown-unknown target, which can be installed with rustup:

rustup target add wasm32-unknown-unknown