rust-lang / rust-lang/rustup

Tracking: Limit the range of valid toolchain names, take caution in `rust-toolchain.toml`

Open
#4,059 8 comments 2 reactions 1 assignee View on GitHub

@rami3l is already working on this.

Since Aug 3, 2026.

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

Description

As discussed in https://github.com/rust-lang/rustup/issues/4053#issuecomment-2421879443, there are basically two issues to address:

  1. Improve current error messages and treat toolchain names coming from rust-toolchain.toml as untrusted. Done.
  2. Come up with more restrictive rules in respect to legal toolchain names.
    • If the rules allow the prevention of phishing, lift the restriction on displaying toolchain names from rust-toolchain.toml if they are legal.

Tasks

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.