RustUp-init and better arm64 support for Windows.

Offen
#5,270 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@crutkas arbeitet bereits daran.

Seit 27.11.2026.

  • #5274 von @crutkas — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
66/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
cli, documentation

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Rust
Sterne
7.1k
Forks
1.1k
Ø Merge
16 Std. 36 Min.
Gemergte PRs (30 T.)
54

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rust-lang/rustup

Alle Issues in rust-lang/rustup

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.