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
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: [email protected]Timestamps & referenced resources
[@03:49] - Rust 1.72.0
[@04:24] - Report cfg-hidden items
[@08:49] - Unlimited const evaluation time
The 2M limit
[@12:52] - Uplifted clippy lints
[@16:53] - Stabilized APIs
impl Sync for mpsc::Sender
String::leak
ACP for String::leak
PR filed live
[@25:46] - Future Windows compatibility
[@26:20] - Changelog deep-dive
[@26:38] - -O -
[@27:43] - Rustdoc search
Whitespace as path separator
Search for slices and arrays
[@30:58] - Cargo will bail if build script uses cargo:: (actually in 1.73)
[@34:13] - Cargo if workspace uses old resolver
[@35:12] - cargo-add will better preserve Cargo.toml
[@36:11] - rustfmt let-else
[@37:49] - cargo -Zscript
[@41:05] - Rust 1.72.1
[@43:37] - Rust 1.73.0
[@43:45] - Cleaner panic messages
[@46:58] - Thread local initialization
[@51:12] - Stabilized APIs
{integer}::next_multiple_of
[@54:53] - Changelog deep-dive
[@55:00] - Unconditional recursion in drop
[@56:04] - Write Rust’s version into .comment section
Embed dependency versions into binary with cargo-sbom
[@58:30] - I/O traits for Arc
[@59:34] - Make cargo --help easier to browse
[@1:03:01] - Merge io::Sink into io::Empty
[@1:05:11] - impl SliceIndex for (Bound, Bound)
Credits
Hosting Infrastructure: Jon Gjengset
Hosts: Jon Gjengset and Ben Striegel