rust-lang / rust-lang/rustup

Remote Custom Toolchains

Open
#2,696 12 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the problem you are trying to solve
It would be nice to be able to specify custom toolchains at a remote location, so that you can very easily download and install custom toolchain using Rustup. So that other distributors can just provide URLs to their distribution, and not require users to manually download and link the toolchain themselves. Of course this remote location would have to follow the same conventions as Rust's CI, but that's not really an issue since most users of this feature would distributing using x.py anyway, just to their servers.

Describe the solution you'd like

rustup toolchain install --custom custom-channel https://custom.example.org

Unresolved Questions

  • link is also another command for creating a custom toolchain but is filesystem only right now. Should the link command be used instead of install?
  • How would updating a custom channel work? (I think having to uninstall and install manually would be fine for a first version, but I can see the want to have something smarter)

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 comparing the existing toolchain install and filesystem-only link command entry points. Trace how Rustup handles toolchain locations and the conventions used by Rust's CI and x.py. Done means the project has a decided interface for remote custom toolchains, installation, and the unresolved update behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.