How to do it...

Follow the steps to implement this recipe:

  1. Update the stable version of Rust to the latest version:
      rustup update stable
  1. Update the rustup tool to the latest version:
      rustup self update
  1. Install the nightly toolkit version of the Rust compiler:
      rustup install nightly
  1. Run the nightly version of Rust without changing the default version of Rust:
      rustup run nightly rustc --version
  1. Change the default version of the Rust compiler to the nightly version:
      rustup default nightly
  1. Update the nightly version of Rust:
      rustup update
  1. This will update both the stable and nightly versions of the Rust compiler.

We should get the following output on execution of the rustup tool:

  • On installation of the nightly version:
  • Setting nightly as the default version:
..................Content has been hidden....................

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