20 min listen
What's New in Rust 1.60 and 1.61
ratings:
Length:
76 minutes
Released:
Jun 21, 2022
Format:
Podcast episode
Description
Jon and Ben discuss the highlights of the 1.60 and 1.61 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:15] - Rust 1.60
[@01:45] - Source-Based Code Coverage
-Cinstrument-coverage documentation
grcov
cargo-llvm-cov
[@08:21] - cargo --timings
Example output for Cargo build
Cargo documentation
[@10:21] - New syntax for Cargo features
Optional dependencies
Dependency features
[@17:06] - Incremental compilation status
Incremental disabled in 1.59
[@20:06] - Instant monotonicity guarantees
“And now we come upon a sad state of affairs”
PR moving from Mutex to AtomicU64
PR removing backsliding protection
[@26:01] - Stabilized APIs
Arc::new_cyclic
Source for Arc::new_cyclic
<[u8]>::escape_ascii
usize::abs_diff
[@32:27] - Changelog deep-dive
Stabilize #[cfg(panic = "..")]
Port cargo from toml-rs to toml_edit
toml_edit crate
Adding OpenWRT target
OpenWRT
[@36:59] - Rust 1.61
[@36:59] - Custom exit codes from main
Termination
ExitCode
Why ExitCode is opaque
try_trait_v2
[@45:05] - More capabilities for const fn
Meta tracking issue for const fn
[@52:20] - Static handles for locked stdio
Stdout::lock
[@54:33] - Stabilized APIs
Vec::retain_mut
<*const T>::offset
[@59:22] - Changelog deep-dive
std::thread::available_parallelism
Respecting Linux cgroups
Cargo dropping num_cpus
Sparse registries RFC
Implementation
Call for testing
Linux baseline requirements bump
Likely landing in 1.64
Compatibility Notes
#[ignore = ".."]
Removing “everybody loops”
When rustdoc stopped looping everybody
[@1:12:55] - Rust 2024 Roadmap
Living roadmap
Credits
Intro Theme: Aerocity
Audio Editing: Aerocity
Hosting Infrastructure: Jon Gjengset
Show Notes: Jon Gjengset
Hosts: Jon Gjengset and Ben Striegel
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:15] - Rust 1.60
[@01:45] - Source-Based Code Coverage
-Cinstrument-coverage documentation
grcov
cargo-llvm-cov
[@08:21] - cargo --timings
Example output for Cargo build
Cargo documentation
[@10:21] - New syntax for Cargo features
Optional dependencies
Dependency features
[@17:06] - Incremental compilation status
Incremental disabled in 1.59
[@20:06] - Instant monotonicity guarantees
“And now we come upon a sad state of affairs”
PR moving from Mutex to AtomicU64
PR removing backsliding protection
[@26:01] - Stabilized APIs
Arc::new_cyclic
Source for Arc::new_cyclic
<[u8]>::escape_ascii
usize::abs_diff
[@32:27] - Changelog deep-dive
Stabilize #[cfg(panic = "..")]
Port cargo from toml-rs to toml_edit
toml_edit crate
Adding OpenWRT target
OpenWRT
[@36:59] - Rust 1.61
[@36:59] - Custom exit codes from main
Termination
ExitCode
Why ExitCode is opaque
try_trait_v2
[@45:05] - More capabilities for const fn
Meta tracking issue for const fn
[@52:20] - Static handles for locked stdio
Stdout::lock
[@54:33] - Stabilized APIs
Vec::retain_mut
<*const T>::offset
[@59:22] - Changelog deep-dive
std::thread::available_parallelism
Respecting Linux cgroups
Cargo dropping num_cpus
Sparse registries RFC
Implementation
Call for testing
Linux baseline requirements bump
Likely landing in 1.64
Compatibility Notes
#[ignore = ".."]
Removing “everybody loops”
When rustdoc stopped looping everybody
[@1:12:55] - Rust 2024 Roadmap
Living roadmap
Credits
Intro Theme: Aerocity
Audio Editing: Aerocity
Hosting Infrastructure: Jon Gjengset
Show Notes: Jon Gjengset
Hosts: Jon Gjengset and Ben Striegel
Released:
Jun 21, 2022
Format:
Podcast episode
Titles in the series (100)
This Week in Rust - Issue 351 by Rustacean Station