Rust 1.86 Released With Trait Upcasting, Deprecates i586-PC-Windows-MSVC
([Programming] 6 Hours Ago
Rust 1.86)
- Reference: 0001538400
- News link: https://www.phoronix.com/news/Rust-1.86-Released
- Source link:
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 [1]Rust-Lang.org .
[1] https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html
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 [1]Rust-Lang.org .
[1] https://blog.rust-lang.org/2025/04/03/Rust-1.86.0.html
Gobrosse