-
Notifications
You must be signed in to change notification settings - Fork 974
Description
Describe the problem you are trying to solve
Rustup prompts for installing the Microsoft C++ build tools on Windows. It refers to Visual Studio 2017, and links to https://aka.ms/buildtools. I noticed that this information is outdated.
On 2 April 2019, Visual Studio 2019 was released. The link https://aka.ms/buildtools is pointing to https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2017, but that anchor does not exist anymore.
Describe the solution you'd like
The instructions printed by the CLI need an update. The help text should refer to Visual Studio 2019. Instructions to install 'Visual C++ Build Tools 2017' should be removed. It seems like the official downloads are no longer available.
Maybe the package manager chocolatey can be mentioned as an alternative to acquire the build-tools.
Notes
Steps to install build tools 2019:
- Visit https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
- Download "Build Tools for Visual Studio 2019"
- Start the installer and enable the checkbox "C++ build tools"
- Run rustup-init.exe
I verified this process on a clean Windows 10 machine. Afterwards Cargo runs successfully.
Screenshot of Visual Studio 2019 installer: