Setting Up
Local Rust installation
You should have a Rust compiler installed that supports the 2024 edition of the language, which is any version of rustc higher than 1.84.
$ rustc --version
rustc 1.87
(Optional) Create a local instance of the course
$ git clone --depth=1 https://github.com/google/comprehensive-rust.git
Cloning into 'comprehensive-rust'...
...
$ cd comprehensive-rust
$ cargo install-tools
...
$ cargo serve # then open http://127.0.0.1:3000/ in a browser
This slide should take about 2 minutes.
Ask everyone to confirm that everyone is able to execute rustc
with a version older that 1.87.
For those people who do not, tell them that we’ll resolve that in the break.