-
Notifications
You must be signed in to change notification settings - Fork 889
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 didn't install Visual Studio #3823
Comments
@KotlinIsland Thanks for filing this issue! Regarding your second point, the change has already been made in #3799 to match rustc's output. cc @ChrisDenton for the first point, introduced in #3060... I don't even know |
Currently the offer to auto install only works if Visual Studio is not already installed. If it is installed but missing required components then they will not currently be installed for you. This could definitely be improved. In the meantime the rustup doc page does walkthrough manual installation. It also doesn't currently work on aarch64. That's just waiting on someone implementing and testing it. |
At this time, I don't believe I have Visual Studio installed. Maybe I did in the past at some point. Is this some kind of heuristic check to determine if VS is installed or not? If VS is determined to be installed with incorrect modules, perhaps rustup-init could indicate as much? |
Rustup uses the rustup/src/cli/self_update/windows.rs Lines 109 to 122 in fcff18c
Sure, the message here would need to be changed to a more specific message rather than the general manual install message. Line 420 in fcff18c
|
Incidentally, if you do have visual studio installed then there should be a "Visual Studio Installer" in your start menu, |
I assume some registry key exists on my machine from a previous install. |
If
rustup-init
detects that Visual Studio is installed but with the incorrect modules, it should say so.But when I ran
rustup
it didn't offer to install Visual Studio:And I see this with the default project:
is it 2013 or 2017?
Why is this most basic step of "install rust on Windows" seemingly so completely broken and/or poorly documented?
The text was updated successfully, but these errors were encountered: