mirror of https://github.com/rust-lang/book
Update MSVC instructions
This commit is contained in:
parent
8fa6b854d5
commit
d5eb2f7a8e
|
@ -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, you’ll
|
||||
receive a message explaining that you’ll also need the MSVC build tools for
|
||||
Visual Studio 2013 or later.
|
||||
|
||||
To acquire the build tools, you’ll 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, we’ll 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
|
||||
|
|
Loading…
Reference in New Issue