rust-lang / rust-lang/rustup

list available stable toolchains that can be installed

Open
#1,651 1 comment 29 reactions 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

It would be good for services using rustup to ship Rust if rustup could list the available stable versions that can be installed: rustup toolchain list stable (or similar) could list 1.0.0, 1.1.0, ...., 1.24.0, 1.24.1, ... etc. Services like compiler explorer need to maintain these lists manually, which is a pain given that these services support dozens of programming languages.

This could be output in both human and machine readable formats. Ideally, the machine readable format would be easy to parse by POSIX sh scripts (e.g. a space-delimited list of versions that can just be interpolated as +${version} for interfacing with rustup). Other formats like json might also be interesting to some.

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 proposes a new rustup toolchain list stable entry point but names no repository files or tests. Start by locating the CLI entry point for toolchain commands and how installable stable versions are determined; done means the behavior and human- and machine-readable output formats are defined and tested.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.