RustUp-init and better arm64 support for Windows.

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

I maintainer di solito rispondono entro 1 giorno

@crutkas ci sta già lavorando.

Dal 27/11/2026.

  • #5274 di @crutkas — aperta

Valutazione

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

Direzione di ricerca

Find the Rustup-init code containing .args(["--add", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64"]) and trace how it selects Visual Studio components by architecture. Read the Windows MSVC installation guide linked in the issue and update its x86/x64 guidance for Arm64. Decide how the Arm64 component should be selected and whether users should install both components; done means the installer behavior and guide cover the agreed Arm64 setup.

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

Descrizione

enhancement
Problem you are trying to solve

Currently Rustup-init doesn't support Windows Arm64. This is an easy adjustment, Microsoft.VisualStudio.Component.VC.Tools.ARM64 is all that is needed.

Doc adjustments:
https://rust-lang.github.io/rustup/installation/windows-msvc.html also need to be updated here too as it references only x86 and x64.

Discussed on:
https://rust-lang.zulipchat.com/#narrow/channel/490103-t-rustup/topic/Helping.20out.20with.20Windows.20on.20Arm/with/643991691

Solution you'd like

Add in arm support, should be a few lines of code change, namely adjusting this to include arm64 dependent on arch

.args(["--add", "Microsoft.VisualStudio.Component.VC.Tools.x86.x64"]);

Notes

open question would be have the arm64 user install both as chances are they would cross compile for both arch. For now i would suggest having this in getting started doc adjustment and make the user aware

Lingua principale
Rust
Stelle
7.1k
Fork
1.1k
Merge medio
16h 36m
PR unite (30g)
54

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.