X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=README.md;h=15d09f4aada3b0090780252a39f96eddb026c7ed;hb=d78260d7811953b8ff28d378858f96782f95a523;hp=f6f796911b8fa57a5f702e71cc9d2dd27ed96349;hpb=e9509f8847e1a0e9f1bd4ae8e7ff1391f223c167;p=rust.git diff --git a/README.md b/README.md index f6f796911b8..15d09f4aada 100644 --- a/README.md +++ b/README.md @@ -128,9 +128,14 @@ build. #### MSVC [windows-msvc]: #windows-msvc -MSVC builds of Rust additionally require an installation of Visual Studio 2013 -(or later) so `rustc` can use its linker. Make sure to check the “C++ tools” -option. +MSVC builds of Rust additionally require an installation of Visual Studio 2017 +(or later) so `rustc` can use its linker. The simplest way is to get the +[Visual Studio], check the “C++ build tools” and “Windows 10 SDK” workload. + +[Visual Studio]: https://visualstudio.microsoft.com/downloads/ + +(If you're installing cmake yourself, be careful that “C++ CMake tools for +Windows” doesn't get included under “Individual components”.) With these dependencies installed, you can build the compiler in a `cmd.exe` shell with: @@ -145,7 +150,7 @@ then you may need to force rustbuild to use an older version. This can be done by manually calling the appropriate vcvars file before running the bootstrap. ```batch -> CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat" +> CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat" > python x.py build ```