RustRover 2023.3 Help

Rust toolchain and standard library

To develop in Rust, you need several basic tools: a compiler, a package manager, a formatter, and so on. A set of these tools is referred to as a toolchain. You will also need the Rust Standard Library.

Install toolchain and standard library from the New Project wizard

When you create a new Rust project, RustRover checks whether the Rust toolchain and standard library are installed.

  • Toolchain. If the Rust toolchain is not detected, Toolchain version will display N/A. Click the Install Rustup button and wait for the installation to complete.

    No Rust toolchain configured notification

    Once the toolchain is installed, RustRover will automatically detect its location. The corresponding version of the toolchain will be displayed under Toolchain version.

  • Standard library. If the Rust toolchain is installed, RustRover will check for the Rust standard library. If it's not there, RustRover will suggest to Download via Rustup: click the button and wait for the installation to complete.

    Rust standard library not found notification

Install Rust toolchain from IDE settings

If you have already opened a project and the Rust toolchain is missing, you will see a notification banner right above the editor:

No Rust toolchain configured notification

  1. Click Set up toolchain.

    Alternatively, open IDE settings (Control+Alt+S) and select Languages & Frameworks | Rust.

  2. If the Rust toolchain is not detected, Toolchain version will display N/A. Click the Install Rustup button and wait for the installation to complete.

    Rust toolchain settings
  3. Once the toolchain is installed, RustRover will automatically detect its location. The corresponding version of the toolchain will be displayed under Toolchain version.

  4. Click OK to apply the settings.

Install Rust on your own

You can install Rust without the help of RustRover – by following the instructions on the official website of the Rust Foundation.

    Last modified: 14 September 2023