Installing Rust

It’s time to start writing some Rust. The first thing you’ll need to do is follow the installation instructions from the official Rust[12] website. On that site, you’ll find a curl script you can run that will install rustup, the main entry point into the Rust toolchain.

Once you’ve completed the installation appropriate for your system, you should be able to interrogate the version of the Rust compiler:

 $ ​​rustc​​ ​​--version
 rustc 1.30.1 (1433507eb 2018-11-07)

Rust is on a six-week release cycle for the stable toolchain, so your version will very likely be newer than the one in this book. You need to be able to successfully run rustc and rustup before continuing to the next section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.140.111