Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustup Visual Studio Community installer packages wrong SDK version on Windows 10 #4035

Open
2 tasks done
spaceghostmid opened this issue Sep 28, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels

Comments

@spaceghostmid
Copy link

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)

@djc djc self-assigned this Sep 29, 2024
@ChrisDenton
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants