rust-lang / rust-lang/rustup

Rust Visual C++ prerequisites: Cancel

Open
#3,088 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
7k
Forks
1.1k
Avg merge
22h 40m
Merged PRs (30d)
46

Description

Problem you are trying to solve

I'm setting up a new machine and will install rust.
I will also install Microsoft Visual Studio.

I started to install rust first...
Rustup gives 3 options to install Visual Studio components, but I just want to quit rustup, install Microsoft Visual Studio myself and run rustup again afterwards.
There is no option to quit rustup.

Rust Visual C++ prerequisites

Rust requires a linker and Windows API libraries but they don't seem to be
available.

These components can be acquired through a Visual Studio installer.

1) Quick install via the Visual Studio Community installer
   (free for individuals, academic uses, and open source).

2) Manually install the prerequisites
   (for enterprise and advanced users).

3) Don't install the prerequisites
   (if you're targetting the GNU ABI).
Solution you'd like

There should also be:

4) Quit install
Notes

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the rustup entry point that displays the “Rust Visual C++ prerequisites” choices and trace how each selection exits or continues. Add a fourth quit path that stops this installation flow, then run the related tests, if present, to verify the prompt behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.