File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,15 @@ build.
128128#### MSVC
129129[ windows-msvc ] : #windows-msvc
130130
131- MSVC builds of Rust additionally require an installation of Visual Studio 2013
132- (or later) so ` rustc ` can use its linker. Make sure to check the “C++ tools”
133- option.
131+ MSVC builds of Rust additionally require an installation of Visual Studio 2017
132+ (or later) so ` rustc ` can use its linker. The simplest way is to get the
133+ [ Visual Studio Build Tools] and check the “C++ build tools” workload.
134+
135+ [ Visual Studio Build Tools ] : https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
136+
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.
134140
135141With these dependencies installed, you can build the compiler in a ` cmd.exe `
136142shell with:
You can’t perform that action at this time.
0 commit comments