VOOZH about

URL: https://www.phoronix.com/news/Rust-1.86-Released

⇱ Rust 1.86 Released With Trait Upcasting, Deprecates i586-PC-Windows-MSVC - Phoronix


👁 Phoronix

Rust 1.86 Released With Trait Upcasting, Deprecates i586-PC-Windows-MSVC

Written by Michael Larabel in Programming on 3 April 2025 at 06:25 AM EDT. 20 Comments
Rust 1.86 is now available today as the latest version of this popular programming language.

Rust 1.86 introduces support for trait upcasting as a long-awaited feature to upcast trait objects. For traits that have a supertrait you can now coerce a reference from said trait object to a reference to a trait object of the supertrait. Rust 1.86 also adds suppot for HashMaps and slices to support indexing multiple elements mutably, safe functions can now be marked with the #[target_feature] attribute, and other alterations.

Rust 1.86 has also deprecated the i586-pc-windows-msvc target and will be removed in Rust 1.87. The i586-pc-windows-msvc doesn't require SSE2 support like with the more common i686-pc-windows-msvc target. But since Windows 10 is the minimum OS version for Rust and that itself requires SSE2, the Rust developers are removing the i586 tier-two target and just leaving the superior i686 target.

More details on the Rust 1.86 changes via Rust-Lang.org.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.