RustUp-init and better arm64 support for Windows.

Đang mở
#5,270 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@crutkas đang làm issue này rồi.

Từ ngày 27/11/2026.

  • #5274 của @crutkas — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
66/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
7.1k
Fork
1.1k
Merge trung bình
16 giờ 36 phút
Pull request đã merge (30 ngày)
54

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rust-lang/rustup

Tất cả issue của rust-lang/rustup

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.