rust-lang / rust-lang/rustup

Allow choosing installation folder in Windows-native way

Open
#4,580 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Problem you are trying to solve

My C:/ disk is relatively small, I would like to keep its space for Windows and minimize pollution by other programs

Is it possible to make installer (provide an option to) call Windows interaction (like BrowseForFolder/IFileOpenDialog I don't know which one is the one) to change where it's going to install Rust?

Solution you'd like

Make install_path part of installation options (default value can still taken from EnvVar, if you really want to)

Choosing to change it calls Windows interaction

Notes

Rustup is the recommended way to install Rust. All newbies are arriving at your install screen.

Forcing newcomers to deal with EnvVars just to change install location seems... cruel

imho, but GUI installer by default (like in Python) is overdue :/

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

Start by locating the Windows-native rustup installer and the handling of installation options. Review how the default install path is obtained from environment variables and how the installer currently presents choices. Done means the installation path can be selected through a Windows folder dialog while retaining the existing default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, release
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.