Rust 1.93 brings musl 1.2.5, allocator improvements, and cfg attributes on asm! lines

Rust 1.93 brings musl 1.2.5, allocator improvements, and cfg attributes on asm! lines

Rust 1.93 is now available, highlighting updates that impact both developers and the broader Rust ecosystem. In this release, all *-linux-musl targets ship with musl version 1.2.5, replacing the previous 1.2.3 bundle. This change brings various bug fixes and improvements. However, it also introduces a breaking change affecting static musl builds for x86_64, AArch64, and POWER PPC64LE developers.

Alongside platform updates, the Rust standard library has seen internal changes. Global allocators written in Rust can now safely use the thread-local storage macro and thread inspection without re-entrancy issues. This is made possible by relying on the system allocator for related operations.

Building on language usability, Rust 1.93 enables conditional compilation (cfg) for individual statements within inline assembly blocks. Previously, achieving fine-grained control required duplicating entire asm! blocks. Now, developers can conditionally include statements, improving code clarity and maintainability.

Following these language and platform changes, Rust 1.93 also stabilizes several new APIs within the standard library, offering additional functionality for crate authors and end-users.

by Paul

Rust iconRust
  149
  • ...

Rust is a multi-paradigm, general-purpose programming language known for its focus on performance, type safety, and concurrency. It ensures memory safety by guaranteeing that all references point to valid memory without relying on a garbage collector. Key features include static typing, type safety, and detailed compiler explanations. Rust is rated 4.3.

No comments so far, maybe you want to be first?
Gu