You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the rustup installer before installing C++ build tools dependencies on Windows 10, the Visual Studio Community installer only contains the SDK for Windows 11 and fails to install.
Steps
Launch rustup-init.exe on Windows 10 without necessary C++ build tools, try to install them through the provided Visual Studio Community installer.
Possible Solution(s)
Check windows version when running rustup-init.exe, provide different Visual Studio Community installers for Win10 and Win11.
Notes
I have also heard the opposite issue from some Win11 users on reddit - possible the check is already in place but the installer versions were flipped by mistake?
Can you say more about the error you're getting? I just tried on a clean Windows 10 and the installation was successful. Note that it's doubtful that the Windows SDK version matters. You can install any supported SDK on any supported version of Windows.
Verification
Problem
When running the rustup installer before installing C++ build tools dependencies on Windows 10, the Visual Studio Community installer only contains the SDK for Windows 11 and fails to install.
Steps
Launch rustup-init.exe on Windows 10 without necessary C++ build tools, try to install them through the provided Visual Studio Community installer.
Possible Solution(s)
Check windows version when running rustup-init.exe, provide different Visual Studio Community installers for Win10 and Win11.
Notes
I have also heard the opposite issue from some Win11 users on reddit - possible the check is already in place but the installer versions were flipped by mistake?
Rustup version
1.27.1
Installed toolchains
stable-x86_64-pc-windows-msvc (default)
rustc 1.81.0 (eeb90cda1 2024-09-04)
OS version
Windows 10 Pro (10.0.19405)
The text was updated successfully, but these errors were encountered: