Rustacean Station

What's New in Rust 1.70 and 1.71

Samstag, 30. September 2023 · 51 min

MP3

Shownotes

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 (twitter.com/rustaceanfm)

• Discord: Rustacean Station (discord.gg/cHc3Gyc)

• Github: @rustacean-station (github.com/rustacean-station)

• Email: hello@rustacean-station.org

Timestamps & referenced resources

[@01:20] - Rust 1.70 (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html)

• [@01:22] - Cargo’s sparse protocol by default (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html…)

• [@03:47] - OnceCell and OnceLock (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html…)

• [@10:56] - IsTerminal (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html…)

• [@12:49] - Named debug levels (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html…)

• [@14:57] - Enforced stability in the test CLI (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html…)

• [@16:45] - Stabilized APIs (blog.rust-lang.org/2023/06/01/Rust-1.70.0.html…)

• Add Default impls for iterators (github.com/rust-lang/libs-team/issues/77)

• Arc::into_inner (doc.rust-lang.org/stable/alloc/sync/struct.Arc…)

• Option::is_some_and (doc.rust-lang.org/stable/std/option/enum.Optio…)

• doc.rust-lang.org/stable/std/os/linux/net/trai…

• [@24:30] - Changelog deep-dive

• [@24:42] - Use SipHash-1-3 instead of 2-4 (github.com/rust-lang/rust/pull/107925)

• [@26:06] - Alignment debug checks for pointer derefs (github.com/rust-lang/rust/pull/98112)

• [@27:04] - Relaxed ordering for asm! operands (github.com/rust-lang/rust/pull/105798)

• [@27:53] - -Zgitoxide (doc.rust-lang.org/nightly/cargo/reference/unst…)

• [@28:21] - -Zdirect-minimal-versions (doc.rust-lang.org/nightly/cargo/reference/unst…)

[@29:16] - Rust 1.71.0 (blog.rust-lang.org/2023/07/13/Rust-1.71.0.html)

• [@29:25] - C-unwind ABI (blog.rust-lang.org/2023/07/13/Rust-1.71.0.html…)

• RFC (github.com/rust-lang/rfcs/blob/master/text/294…)

• Unwinding by default? (hackmd.io/ymsEL6OpR6OSMoFr1As1rw)

• [@36:59] - Debugger visualization attributes (blog.rust-lang.org/2023/07/13/Rust-1.71.0.html…)

• Detailed documentation (doc.rust-lang.org/nightly/reference/attributes…)

• [@37:36] - raw-dylib linking (blog.rust-lang.org/2023/07/13/Rust-1.71.0.html…)

• Windows linking docs (learn.microsoft.com/en-us/cpp/build/linking-an…)

• What is ordinal linking (stackoverflow.com/questions/44585808/what-is-l…)

• [@38:15] - Upgrade to musl 1.2 (blog.rust-lang.org/2023/07/13/Rust-1.71.0.html…)

• [@39:42] - Const-initialized thread locals (blog.rust-lang.org/2023/07/13/Rust-1.71.0.html…)

• [@41:14] - Changelog deep-dive

• [@41:40] - Uplift drop_ref clippy lints (github.com/rust-lang/rust/pull/109732)

• [@42:39] - Allow some recursive panics (github.com/rust-lang/rust/pull/110975)

• [@43:57] - Optimize cargo under rustup (github.com/rust-lang/cargo/pull/11917)

• [@45:38] - Avoid excessive registry lookups (github.com/rust-lang/cargo/pull/12083)

• [@46:28] - Include rust-version in publish (github.com/rust-lang/cargo/pull/12041)

• [@47:02] - Document more semver rules (doc.rust-lang.org/cargo/reference/semver.html)

• Adding #[non_exhausting] (github.com/rust-lang/cargo/pull/10877)

• Making an fn safe (github.com/rust-lang/cargo/pull/12116)

• MSRV is a minor bump (github.com/rust-lang/cargo/pull/12122)

Credits

Intro Theme: twitter.com/AerocityMusic

Audio Editing: twitter.com/AerocityMusic

Hosting Infrastructure: Jon Gjengset (twitter.com/jonhoo)

Show Notes: Jon Gjengset (twitter.com/jonhoo)

Hosts: Jon Gjengset and Ben Striegel

0:00 / 0:00