RustRover 2024.1 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.

You can provide the toolchain and standard library yourself, or let RustRover install them for you in one click – from the New Project wizard or through IDE settings.

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.

  • If the Rust toolchain is not detected, Toolchain version will display N/A. Click the Install Rustup button – RustRover will attempt to install both the toolchain and the standard library.

    No Rust toolchain configured notification

    Once the installation is complete, RustRover will automatically detect its location, populating the Toolchain version and the Standard library path.

  • If the Rust toolchain is detected but the standard library is not, click the Download via Rustup 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 (Ctrl+Alt+S) and select Rust.

  2. If the Rust toolchain is not detected, Toolchain version will display N/A. Click the Install Rustup button – RustRover will attempt to install both the toolchain and the standard library.

    Rust toolchain settings
  3. Once the installation is complete, RustRover will automatically detect its location, populating the Toolchain version and the Standard library path.

  4. Click OK to apply the settings.

Install Rust on your own

You can install Rust independently, without the help of RustRover.

Once installation is complete, go to Settings Ctrl+Alt+S | Rust and check that RustRover has recognized the installed toolchain and standard library. If not, specify the necessary paths manually.

Rust toolchain and standard library recognized in RustRover

    Update Rust

    If you're using a stable or beta version of Rust, RustRover will let you know about available updates. The notification will suggest to run the rustup update command:

    New Rust version notification
    Last modified: 20 March 2024