Skip to content

Commit 40df4c0

Browse files
authored
Rollup merge of rust-lang#61116 - scottmcm:vcpp-download-link, r=alexcrichton
Remove the incorrect warning from README.md My problem was user error; thanks to @Zoxc for fixing me! r? @alexcrichton
2 parents 373ae48 + 67ee286 commit 40df4c0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,8 @@ MSVC builds of Rust additionally require an installation of Visual Studio 2017
134134

135135
[Visual Studio Build Tools]: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
136136

137-
At last check (cmake 3.14.3 and msvc 16.0.3) using the 2019 tools fails to
138-
build the in-tree LLVM build with a CMake error, so use 2017 instead by
139-
including the “MSVC v141 – VS 2017 C++ x64/x86 build tools (v14.16)” component.
137+
(If you're installing cmake yourself, be careful that “C++ CMake tools for
138+
Windows” doesn't get included under “Individual components”.)
140139

141140
With these dependencies installed, you can build the compiler in a `cmd.exe`
142141
shell with:
@@ -151,7 +150,7 @@ then you may need to force rustbuild to use an older version. This can be done
151150
by manually calling the appropriate vcvars file before running the bootstrap.
152151

153152
```batch
154-
> CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
153+
> CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
155154
> python x.py build
156155
```
157156

0 commit comments

Comments
 (0)