News: 0001538400

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

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

([Programming] 6 Hours Ago Rust 1.86)


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



Gobrosse

jacob

ssokolow

schmidtbag

cb88

bug77

caligula

Weasel

Please, won't somebody tell me what diddie-wa-diddie means?