Rustacean Station
Rustacean Station
Rustacean Station
What's New in Rust 1.60 and 1.61
1 hour 15 minutes Posted Jun 21, 2022 at 3:30 pm.
] Rust 1.60
] Source-Based Code Coverage
] cargo --timings
] New syntax for Cargo features
] Incremental compilation status
] Instant monotonicity guarantees
] Stabilized APIs
] Changelog deep-dive
] Rust 1.61
] Custom exit codes from main
] More capabilities for const fn
] Static handles for locked stdio
] Stabilized APIs
] Changelog deep-dive
] Rust 2024 Roadmap
0:00
1:15:49
Download MP3
Show notes
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: [email protected]
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
[@
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
[@
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