Rust 自 1.100 起将 i686 Windows 目标降级为仅提供标准库
随着 Rust 1.100.0 发布,Rust 项目将停止为 32 位 Windows 目标提供宿主工具。i686-pc-windows-msvc 将从带宿主工具的 Tier 1 降级为不带宿主工具的 Tier 1,i686-pc-windows-gnu 则从带宿主工具的 Tier 2 降级为不带宿主工具的 Tier 2。
预编译的标准库仍会继续分发,i686-pc-windows-msvc 作为 Tier 1 目标也会继续在 CI 中测试。但在 Rust 1.100 之后,用户将无法在 32 位 Windows 宿主上安装工具链。需要生成 32 位 Windows 二进制的开发者必须从受支持的宿主(如 64 位 Windows 工具链)进行交叉编译。
编译器团队给出了几点理由:纯 32 位 x86 CPU 已超过 15 年没有销售,32 位 Windows 的通用支持已于 2025 年 10 月终止,而且即使在现代硬件上构建 i686 Windows 工具链也问题频出——为 i686 MSVC 构建的编译器二进制会崩溃,GNU C++ 工具链在构建 LLVM 时会出现内存不足。其他 32 位平台不受影响。相关变更记录在 RFC 3999 和 MCP 1020 中。
Rust Demotes i686 Windows Targets to std-Only Starting with Rust 1.100
With Rust 1.100.0, the Rust project will stop shipping host tools for 32-bit Windows targets. i686-pc-windows-msvc will be demoted from Tier 1 with host tools to Tier 1 without host tools, and i686-pc-windows-gnu from Tier 2 with host tools to Tier 2 without host tools.
Prebuilt standard library builds will continue to be distributed, and i686-pc-windows-msvc will still be tested in CI as a Tier 1 target. However, after Rust 1.100 it will no longer be possible to install a toolchain on a 32-bit Windows host. Developers who need 32-bit Windows binaries will have to cross-compile from a supported host, such as a 64-bit Windows toolchain.
The compiler team cites several reasons: 32-bit-only x86 CPUs have not been sold for over 15 years, general 32-bit Windows support ended in October 2025, and building i686 Windows toolchains has been problematic even on modern hardware, with compiler binaries crashing when built for i686 MSVC and the GNU C++ toolchain running out of memory during LLVM builds. Other 32-bit platforms are not affected. The changes are documented in RFC 3999 and MCP 1020.
猎鹰不保存原文正文。标题与摘要用于快速发现信息,事实细节请以来源原文为准。