build,win: add Rust toolchain automated configuration Windows#63381
Open
MikeMcC399 wants to merge 1 commit into
Open
build,win: add Rust toolchain automated configuration Windows#63381MikeMcC399 wants to merge 1 commit into
MikeMcC399 wants to merge 1 commit into
Conversation
Signed-off-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Collaborator
|
Review requested:
|
joyeecheung
approved these changes
May 18, 2026
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.
Refs: #63225
Situation
Windows prerequisites - Automated install with WinGet states:
This is no longer true, because a Rust toolchain is required and not automatically installed. The WinGet configuration files do not install Rust.
Change
Add the WinGet package Rustlang.Rust.MSVC to the WinGet configuration files
Correct the
configurationVersionto0.2.0to match$schema=https://aka.ms/configuration-dsc-schema/0.2, which is the latest version.Add "Rust Toolchain MSVC" to the list of installed components in Windows prerequisites - Automated install with WinGet
Verification
On Windows 11 25H2 (amd64)
Uninstall any related previously installed prerequisites from Settings > Apps, such as:
Uninstall:
C:\Program Files\NASM)In a PowerShell terminal, execute each of the following separately. Between each test,
uninstall Microsoft Visual Studio Installer:
Check installation:
Expect the following versions or above:
Backporting
This PR is applicable to Node.js >=26 only and should not be backported to earlier release lines.