Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Wrong completions when using the `+toolchain` syntax

Aperta
#5,144 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

The issue gives one reproduction: rustup +stage1 target add <TAB> still lists targets from the active toolchain instead of the +stage1 toolchain. Start by reproducing it in a shell with rustup completions loaded, then find where the target completion list is built and check whether it receives the +toolchain override. Done means the suggestions for target sub-commands match the toolchain named on the command line, and a test or manual check covers the +toolchain case.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

The completions suggested for the rustup target sub-commands do not account for the toolchain selected in the +toolchain syntax.

For example, rustup +stage1 target add <TAB> suggests every target (available in the active toolchain in the directory), but it should not.

Lingua principale
Rust
Stelle
7.1k
Fork
1.1k
Merge medio
1g 10h
PR unite (30g)
42

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/rustup

Tutte le issue di rust-lang/rustup

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.