Software-update: Rust 1.93.0

Rust logoRust is een programmeertaal bedacht door Graydon Hoare en oorspronkelijk ontwikkeld door Mozilla. Het is deels geïnspireerd op de programmeertaal C, maar kent syntactische en semantische verschillen. Het focust op veiligheid en moet moderne computersystemen efficiënter benutten. Het wordt onder meer ingezet door Cloudflare, OVH, Mozilla, Deliveroo, Coursera, AppSignal en Threema. Versie 1.93 is uitgebracht en de releasenotes voor die uitgave kunnen hieronder worden gevonden.

Update bundled musl to 1.2.5

The various *-linux-musl targets now all ship with musl 1.2.5. This primarily affects static musl builds for x86_64, aarch64, and powerpc64le which bundled musl 1.2.3. This update comes with several fixes and improvements, and a breaking change that affects the Rust ecosystem. For the Rust ecosystem, the primary motivation for this update is to receive major improvements to musl's DNS resolver which shipped in 1.2.4 and received bug fixes in 1.2.5. When using musl targets for static linking, this should make portable Linux binaries that do networking more reliable, particularly in the face of large DNS records and recursive nameservers.

However, 1.2.4 also comes with a breaking change: the removal of several legacy compatibility symbols that the Rust libc crate was using. A fix for this was shipped in libc 0.2.146 in June 2023 (2.5 years ago), and we believe has sufficiently widely propagated that we're ready to make the change in Rust targets. See our previous announcement for more details.

Allow the global allocator to use thread-local storage

Rust 1.93 adjusts the internals of the standard library to permit global allocators written in Rust to use std's thread_local! and std::thread::current without re-entrancy concerns by using the system allocator instead. See docs for details.

cfg attributes on asm! lines

Previously, if individual parts of a section of inline assembly needed to be cfg'd, the full asm! block would need to be repeated with and without that section. In 1.93, cfg can now be applied to individual statements within the asm! block.

asm!( // or global_asm! or naked_asm!
    "nop",
    #[cfg(target_feature = "sse2")]
    "nop",
    // ...
    #[cfg(target_feature = "sse2")]
    a = const 123, // only used on sse2
);
Stabilized APIs Other changes

Check out everything that changed in Rust, Cargo, and Clippy.

Rust

Versienummer 1.93.0
Releasestatus Final
Website The Rust Programming Language Blog
Download https://www.rust-lang.org/install.html
Licentietype Voorwaarden (GNU/BSD/etc.)

Door Bart van Klaveren

Downloads en Best Buy Guide

23-01-2026 • 07:30

6

Submitter: Vanquish92

Bron: The Rust Programming Language Blog

Update-historie

23-01 Rust 1.93.0 6
13-12 Rust 1.92.0 0
31-10 Rust 1.91.0 0
19-09 Rust 1.90.0 10
09-08 Rust 1.89.0 1
27-06 Rust 1.88.0 8
16-05 Rust 1.87.0 1
04-'25 Rust 1.86.0 0
02-'25 Rust 1.85.0 0
01-'25 Rust 1.84.1 0
Meer historie

Reacties (6)

Sorteer op:

Weergave:

Omdat mijn muscle memory alleen libc kent en de aanwezige kennis over nieuwere talen soms wat roestig kan zijn moest ik even op zoek naar wat "musl" precies is:
musl, pronounced like the word “mussel” or “muscle”, is a “libc”, an implementation of the standard library functionality described in the ISO C and POSIX standards, plus common extensions, built on top of the Linux system calls API. While the kernel governs access to hardware, memory, filesystems, and the privileges for accessing these resources, libc is responsible for:

providing C bindings for the OS interfaces

constructing higher-level buffered stdio, memory allocation management, thread creation and synchronization operations, shared library loading, and so on using the lower-level interfaces the kernel provides

implementing the pure library routines of the C language like strstr, snprintf, strtol, exp, sqrt, etc.

musl has history and development roots going back to 2005, but was named and first released as musl in 2011, as an alternative to glibc and uClibc with an ambitious goal to meet the needs of both tiny embedded systems and typical desktops and servers.
Dus libc; de versie die naar de sportschool gaat.
Vooral bekend van lichtgewicht Docker containers zoals Alpine.
En van de compatibiliteits problemen die je daardoor soms ervaart afhankelijk van hoe hard software op libc hangt waardoor je alsnog een Debian of Ubuntu based containers moet gebruiken :D
Die niet eens slechter zijn qua performance, waardoor je waarschijnlijk beter af bent met een wat grotere container die op Debian is gebaseerd.

Als je een zo klein mogelijke container wilt, dan is distroless een betere oplossing. Al heb ik niet gekeken hoe het zit met de performance, vind ik het ook irritant dat ik niet een shell binnen de container kan executen om zo de boel te onderzoeken. Dus dan maar iets waar ik bekend mee ben: Debian.

Musl is de spirituele opvolger van uClibc die je (@Stukfruit) misschien wel kent? Ooit eens gebruikt om een bootable Linux distributie voor op een floppy disk te creëren. In die tijd was dat niet te doen want degene voor wie ik het maakte was een door en door Windows adept, dus NFS kon ik wel vergeten.
Oud nieuws, de Nightly Build, die dagelijks wordt bijgewerkt, zit al op 1.95.0.
Ja, ik wil ook graag nightlies in production testen :9, "I test in prod".

Als je kijkt op https://endoflife.date/rust dan zie je dat deze versie gisteren officieel is uitgekomen, de originele release notes zijn ook van gisteren: https://blog.rust-lang.org/2026/01/22/Rust-1.93.0/

Om te kunnen reageren moet je ingelogd zijn