Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Demoting i686 Windows targets to std-only

Rust 1.100.0 introduces significant changes to 32-bit Windows targets. While standard library builds will continue, host tools like the compiler will no longer be available for these platforms. i686-pc-windows-msvc, a Tier 1 target, will still undergo CI testing. However, to build 32-bit Windows binaries, cross-compiling from a still-supported host toolchain, such as a 64-bit Windows one, will be necessary moving forward.

The development platforms for these targets are increasingly obsolete, with x86 CPUs no longer being produced for over 15 years and 32-bit Windows support ending in October 2025. Building these targets on modern x86_64 hardware has proven problematic, with compiler binaries crashing and the GNU C++ toolchain failing due to memory issues.

As a result, cross-compiling from a more supported platform has been deemed the best course of action. The prebuilt standard library will remain available, and i686-pc-windows-msvc will continue to be tested on CI after Rust 1.100. However, installing toolchains on 32-bit Windows hosts will become impossible after this update. Rust recommends cross-compiling from a supported host, like a 64-bit Windows toolchain, instead.

The demotion of other 32-bit platforms is not affected by this change. For more details, refer to RFC 3999 for i686-pc-windows-msvc demotion and MCP 1020 for i686-pc-windows-gnu demotion.

Rewritten by urgent.news; may contain errors — check the original.

Source: blog.rust-lang.org

Read the original at blog.rust-lang.org →

Report a problem with this story

More in Tech

More from Thursday 8 October →