Rustacean Station

What's New in Rust 1.72 and 1.73

Dienstag, 18. Juni 2024 · 1 h 09

MP3

Shownotes

Jon and Ben discuss the highlights of the 1.72 and 1.73 releases of Rust.

This episode was recorded as part of a YouTube live stream on
2024-05-18, which you can still
watch (youtube.com/live/VpSXTJXX1YA).

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

[@03:49] - Rust 1.72.0 (blog.rust-lang.org/2023/08/24/Rust-1.72.0.html)

• [@04:24] - Report cfg-hidden items (blog.rust-lang.org/2023/08/24/Rust-1.72.0.html…)

• [@08:49] - Unlimited const evaluation time (blog.rust-lang.org/2023/08/24/Rust-1.72.0.html…)

• The 2M limit (github.com/rust-lang/rust/blob/bb97203e37bbdd4…)

• [@12:52] - Uplifted clippy lints (blog.rust-lang.org/2023/08/24/Rust-1.72.0.html…)

• [@16:53] - Stabilized APIs (blog.rust-lang.org/2023/08/24/Rust-1.72.0.html…)

• impl Sync for mpsc::Sender (doc.rust-lang.org/stable/std/sync/mpsc/struct.…)

• String::leak (doc.rust-lang.org/stable/std/sync/mpsc/struct.…)

• ACP for String::leak (github.com/rust-lang/libs-team/issues/109)

• PR filed live (github.com/rust-lang/rust/pull/125251)

• [@25:46] - Future Windows compatibility (blog.rust-lang.org/2023/08/24/Rust-1.72.0.html…)

• [@26:20] - Changelog deep-dive

• [@26:38] - -O - (github.com/rust-lang/rust/pull/111626)

• [@27:43] - Rustdoc search

• Whitespace as path separator (github.com/rust-lang/rust/pull/108537)

• Search for slices and arrays (github.com/rust-lang/rust/pull/111958)

• [@30:58] - Cargo will bail if build script uses cargo:: (github.com/rust-lang/cargo/pull/12332) (actually in 1.73)

• [@34:13] - Cargo if workspace uses old resolver (github.com/rust-lang/cargo/pull/10910)

• [@35:12] - cargo-add will better preserve Cargo.toml (github.com/rust-lang/cargo/pull/12191)

• [@36:11] - rustfmt let-else (blog.rust-lang.org/2023/07/01/rustfmt-supports…)

• [@37:49] - cargo -Zscript (github.com/rust-lang/cargo/issues/12207)

[@41:05] - Rust 1.72.1 (blog.rust-lang.org/2023/09/19/Rust-1.72.1.html)

[@43:37] - Rust 1.73.0 (blog.rust-lang.org/2023/10/05/Rust-1.73.0.html)

• [@43:45] - Cleaner panic messages (blog.rust-lang.org/2023/10/05/Rust-1.73.0.html…)

• [@46:58] - Thread local initialization (blog.rust-lang.org/2023/10/05/Rust-1.73.0.html…)

• [@51:12] - Stabilized APIs (blog.rust-lang.org/2023/10/05/Rust-1.73.0.html…)

• {integer}::next_multiple_of (doc.rust-lang.org/stable/std/primitive.u32.htm…)

• [@54:53] - Changelog deep-dive

• [@55:00] - Unconditional recursion in drop (github.com/rust-lang/rust/pull/113902)

• [@56:04] - Write Rust’s version into .comment section (github.com/rust-lang/rust/pull/97550)

• Embed dependency versions into binary with cargo-sbom (github.com/rust-lang/rfcs/pull/3553)

• [@58:30] - I/O traits for Arc<File> (github.com/rust-lang/rust/pull/94748)

• [@59:34] - Make cargo --help easier to browse (github.com/rust-lang/cargo/pull/11905)

• [@1:03:01] - Merge io::Sink into io::Empty (github.com/rust-lang/rust/pull/98154)

• [@1:05:11] - impl SliceIndex<str> for (Bound<usize>, Bound<usize>) (github.com/rust-lang/rust/pull/111081)

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