Update MSVC instructions

This commit is contained in:
Chris Denton 2023-04-21 04:28:02 +01:00
parent 8fa6b854d5
commit d5eb2f7a8e
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
1 changed files with 4 additions and 11 deletions

View File

@ -59,16 +59,9 @@ the `build-essential` package.
On Windows, go to [https://www.rust-lang.org/tools/install][install] and follow
the instructions for installing Rust. At some point in the installation, youll
receive a message explaining that youll also need the MSVC build tools for
Visual Studio 2013 or later.
To acquire the build tools, youll need to install [Visual Studio
2022][visualstudio]. When asked which workloads to install, include:
* “Desktop Development with C++”
* The Windows 10 or 11 SDK
* The English language pack component, along with any other language pack of
your choosing
be prompted to install Visual Studio. This provides a linker and the native
libraries needed to compile programs. If you need more help with this step, see
[https://rust-lang.github.io/rustup/installation/windows-msvc.html][msvc]
The rest of this book uses commands that work in both *cmd.exe* and PowerShell.
If there are specific differences, well explain which to use.
@ -143,5 +136,5 @@ sure what it does or how to use it, use the application programming interface
[otherinstall]: https://forge.rust-lang.org/infra/other-installation-methods.html
[install]: https://www.rust-lang.org/tools/install
[visualstudio]: https://visualstudio.microsoft.com/downloads/
[msvc]: https://rust-lang.github.io/rustup/installation/windows-msvc.html
[community]: https://www.rust-lang.org/community