Install Visual C++ build tools

Completed

Rust requires the Microsoft C++ build tools for Visual Studio 2013 or later. These build tools must be installed before you can install Rust.

If you don't have the build tools installed, follow these steps:

  1. Go to the Microsoft Visual Studio download page.

  2. Select Download Build Tools.

  3. After the download completes, run the installer file. The Visual Studio Installer window opens.

  4. In the popup dialog, select Yes. In the next popup dialog, select Continue.

  5. In the Installer window, under Desktop & Mobile, select the checkbox for the Desktop development with C++ option.

  6. In the Installation details pane, make sure the following options are selected:

    Note

    Make sure you select the correct SDK for your operating system.

    Screenshot that shows the options to install with the Visual C plus plus build tools.

  7. Select Install.

After the installation completes, you can continue with the Rust installation.