Facebook Pixel
Rustacean Station

What's New in Rust 1.70 and 1.71

Rustacean Station
Rustacean Station
Jon and Ben discuss the highlights of the 1.70 and 1.71 releases of Rust.

Contributing to Rustacean Station

Rustacean Station is a community project; get in touch with us if you’d like to suggest an idea for an episode or offer your services as a host or audio editor!


Twitter: @rustaceanfm
Discord: Rustacean Station
Github: @rustacean-station
Email: hello@rustacean-station.org


Timestamps & referenced resources

[@01:20] - Rust 1.70


[@01:22] - Cargo’s sparse protocol by default
[@03:47] - OnceCell and OnceLock
[@10:56] - IsTerminal
[@12:49] - Named debug levels
[@14:57] - Enforced stability in the test CLI
[@16:45] - Stabilized APIs

Add Default impls for iterators
Arc::into_inner
Option::is_some_and
SocketAddrExt


[@24:30] - Changelog deep-dive

[@24:42] - Use SipHash-1-3 instead of 2-4
[@26:06] - Alignment debug checks for pointer derefs
[@27:04] - Relaxed ordering for asm! operands
[@27:53] - -Zgitoxide
[@28:21] - -Zdirect-minimal-versions




[@29:16] - Rust 1.71.0


[@29:25] - C-unwind ABI

RFC
Unwinding by default?


[@36:59] - Debugger visualization attributes

Detailed documentation


[@37:36] - raw-dylib linking

Windows linking docs
What is ordinal linking


[@38:15] - Upgrade to musl 1.2
[@39:42] - Const-initialized thread locals
[@41:14] - Changelog deep-dive

[@41:40] - Uplift drop_ref clippy lints
[@42:39] - Allow some recursive panics
[@43:57] - Optimize cargo under rustup
[@45:38] - Avoid excessive registry lookups
[@46:28] - Include rust-version in publish
[@47:02] - Document more semver rules

Adding #[non_exhausting]
Making an fn safe
MSRV is a minor bump






Credits

Intro Theme: Aerocity

Audio Editing: Aerocity

Hosting Infrastructure: Jon Gjengset

Show Notes: Jon Gjengset

Hosts: Jon Gjengset and Ben Striegel
Rustacean Station
Not playing