RustUp-init and better arm64 support for Windows.

未关闭
#5,270 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@crutkas 已经在做这个了。

开始于 2026年11月27日。

  • #5274 来自 @crutkas —— 未关闭

评估

难度
3/5
预计耗时
1-2 天
新手友好度
66/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust
领域
cli, documentation

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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

主要语言
Rust
星标
7.1k
派生
1.1k
平均合并
16 小时 36 分钟
30 天内合并 PR
54

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

rust-lang/rustup 的其他 Issue

查看 rust-lang/rustup 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。