Skip to content

Commit 6cd5815

Browse files
committed
Update install instructions for VS 2019
1 parent 8f1d93e commit 6cd5815

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ toolchain] use the GNU build.
419419

420420
When targeting the MSVC ABI, Rust additionally requires an [installation
421421
of Visual Studio 2013 (or later) or the Visual C++ Build Tools
422-
2015][vs] so rustc can use its linker. For Visual Studio, make sure to
422+
2019][vs] so rustc can use its linker. For Visual Studio, make sure to
423423
check the "C++ tools" option. No additional software installation is
424424
necessary for basic use of the GNU build.
425425

@@ -465,7 +465,7 @@ $ rustup target add i686-pc-windows-gnu
465465
```
466466

467467
[ABIs]: https://en.wikipedia.org/wiki/Application_binary_interface
468-
[Visual Studio]: https://visualstudio.microsoft.com/
468+
[Visual Studio]: https://visualstudio.microsoft.com/downloads/
469469
[GCC toolchain]: https://gcc.gnu.org/
470470
[MinGW/MSYS2 toolchain]: https://msys2.github.io/
471471

@@ -649,7 +649,7 @@ platform of your choice:
649649
- [i686-apple-darwin](https://static.rust-lang.org/rustup/dist/i686-apple-darwin/rustup-init)
650650
- [i686-linux-android](https://static.rust-lang.org/rustup/dist/i686-linux-android/rustup-init)
651651
- [i686-pc-windows-gnu](https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe)
652-
- [i686-pc-windows-msvc](https://static.rust-lang.org/rustup/dist/i686-pc-windows-msvc/rustup-init.exe)<sup>[](#vs2015)</sup>
652+
- [i686-pc-windows-msvc](https://static.rust-lang.org/rustup/dist/i686-pc-windows-msvc/rustup-init.exe)<sup>[](#vs2019)</sup>
653653
- [i686-unknown-linux-gnu](https://static.rust-lang.org/rustup/dist/i686-unknown-linux-gnu/rustup-init)
654654
- [mips-unknown-linux-gnu](https://static.rust-lang.org/rustup/dist/mips-unknown-linux-gnu/rustup-init)
655655
- [mips64-unknown-linux-gnuabi64](https://static.rust-lang.org/rustup/dist/mips64-unknown-linux-gnuabi64/rustup-init)
@@ -662,14 +662,14 @@ platform of your choice:
662662
- [x86_64-apple-darwin](https://static.rust-lang.org/rustup/dist/x86_64-apple-darwin/rustup-init)
663663
- [x86_64-linux-android](https://static.rust-lang.org/rustup/dist/x86_64-linux-android/rustup-init)
664664
- [x86_64-pc-windows-gnu](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe)
665-
- [x86_64-pc-windows-msvc](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe)<sup>[](#vs2015)</sup>
665+
- [x86_64-pc-windows-msvc](https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe)<sup>[](#vs2019)</sup>
666666
- [x86_64-unknown-freebsd](https://static.rust-lang.org/rustup/dist/x86_64-unknown-freebsd/rustup-init)
667667
- [x86_64-unknown-linux-gnu](https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init)
668668
- [x86_64-unknown-netbsd](https://static.rust-lang.org/rustup/dist/x86_64-unknown-netbsd/rustup-init)
669669

670-
<a name="vs2015">†</a>
670+
<a name="vs2019">†</a>
671671
MSVC builds of `rustup` additionally require an [installation of
672-
Visual Studio 2015 or the Visual C++ Build Tools 2015][vs]. For
672+
Visual Studio 2019 or the Visual C++ Build Tools 2019][vs]. For
673673
Visual Studio, make sure to check the "C++ tools" option. No
674674
additional software installation is necessary for basic use of
675675
the GNU build.

src/cli/self_update.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,18 +176,19 @@ Rust requires the Microsoft C++ build tools for Visual Studio 2013 or
176176
later, but they don't seem to be installed.
177177
178178
The easiest way to acquire the build tools is by installing Microsoft
179-
Visual C++ Build Tools 2017 which provides just the Visual C++ build
179+
Visual C++ Build Tools 2019 which provides just the Visual C++ build
180180
tools:
181181
182-
https://aka.ms/buildtools
182+
https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
183183
184184
Please ensure the Windows 10 SDK component is included when installing
185185
the Visual C++ Build Tools.
186186
187-
Alternately, you can install Visual Studio 2015 or Visual
188-
Studio 2013 and during install select the "C++ tools":
187+
Alternately, you can install Visual Studio 2019, Visual Studio 2017,
188+
Visual Studio 2015, or Visual Studio 2013 and during install select
189+
the "C++ tools":
189190
190-
https://www.visualstudio.com/downloads/
191+
https://visualstudio.microsoft.com/downloads/
191192
192193
_Install the C++ build tools before proceeding_.
193194

0 commit comments

Comments
 (0)