Rustup prompts to install c++ build tools, but it is already installed

I tried to install rust on my computer, but rustup prompts me to install c++ build tools. However, in the settings app it shows I have all of these:

10 or 20 megabytes doesn't seem like the size of a complete toolchain. What you installed is probably just the runtime library. For development, you will also need headers, compilers, a linker, debugger, etc.

1 Like

You have the "redistributable" package installed, not the build tools.

The Visual C++ Redistributable is a bunch of system DLLs that your code will use to interact with Windows (think libc and libpthread on Linux), whereas the build tools package contains the Windows linker and other tools the Rust compiler will need in order to generate executables.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.