VOOZH about

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

⇱ Rust 1.88 Released With Improvements For Naked Functions, Chaining Let Statements - Phoronix


👁 Phoronix

Rust 1.88 Released With Improvements For Naked Functions, Chaining Let Statements

Written by Michael Larabel in Programming on 26 June 2025 at 02:38 PM EDT. 42 Comments
Last month saw the release of Rust 1.87 that celebrated ten years of the Rust programming language while out today is Rust 1.88 that continues iterating the language with new features.

Rust 1.88 introduces support for writing naked functions with no compiler-generated epilogue and prologue to allow for full control over the generated Assembly of that function. Naked functions are marked using the #[unsafe(naked)] attribute.

👁 Rust naked function


Rust 1.88 also adds support for chaining let statements inside if and while statements using "&&" chaining.

On the Cargo side, Rust 1.88 for Cargo brings automatic cache cleaning by running garbage collection on the cache within the home directory. Cargo currently is set to remove files downloaded from the network if not accessed in a three month period.

Rust 1.88 also brings support for boolean literals to the cfg predicate language, stabilized a number of APIs, and the i686-pc-windows-gnu target has been demoted to being a Tier-2 architecture.

More details on today's Rust 1.88 release 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.