Repository navigation
Conversation
added 2 commits
November 25, 2026 22:15
Start the MSVC prerequisites guide with a WinGet command that installs the x64/x86 and ARM64 MSVC build tools, the Windows 11 SDK and the English language pack, then rustup. Explain what each component is for, describe the rustup-init automatic install as it behaves today, shorten licensing and manual install, and add troubleshooting for common linker and SDK errors.
List WinGet under package managers with the same Build Tools and Rustlang.Rustup commands as the MSVC guide. The Rustlang.Rustup package runs rustup-init -y, so the prerequisites go first.
Collaborator
|
Welcome, and thank you for contributing to rustup! A reviewer will take a look at your PR, typically within a week or two. Please see the contribution instructions and our LLM policy for more information. |
Added instructions for manually installing the Windows SDK using WinGet if it's missing after running the initial command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is adjusts the body to shift to Build tools. and an attempt to simplify language. With #5267, this should be a lot easier language too as everything moves to a easier path.
Closes #5264
Before / after
Details
Rewrites the Windows MSVC prerequisites page to be short and lead with one WinGet install.
wingetblock that installs Build Tools (x64/x86 and ARM64 MSVC tools, Windows 11 SDK 26100, English language pack), thenRustlang.Rustup.--interactiveopens the Visual Studio Installer for review. Works in PowerShell and Command Prompt. WinGet waits for Build Tools before the second line, because the manifest's--waitis kept and--customadds to it.Rustlang.Rust.MSVCinstalls Rust, not the prerequisites.-y.kernel32.lib(with aMicrosoft.WindowsSDK.10.0.26100fallback), and Git'slink.exeonPATH.other.md: new WinGet subsection under "Using a package manager" with the same two lines. TheRustlang.Rustupmanifest runsrustup-init -y, so the prerequisites go first.windows.md: one sentence now says MSVC build tools and a Windows SDK instead of "an installation of Visual Studio".Validation:
mdbook build doc/user-guide(mdbook 0.5.2, same as CI): passed, and in-page anchors resolve.