Hasty Briefsbeta

Bilingual

Rust 1.99.0

5 hours ago
  • Rust 1.99.0 stabilizes defining C-ABI variadic functions with "C" and "C-unwind" ABIs, allowing Rust code to write variadic functions directly.
  • The release settles safety requirements for retrieving size and alignment on raw pointers to both Sized and non-Sized types, stabilizing functions like `size_of_val_raw` and `align_of_val_raw`.
  • Documentation for `Box::leak` is updated to recommend against patterns that later deallocate memory, suggesting `Box::into_non_null` instead, due to problematic interactions with compiler optimizations.
  • Several new APIs are stabilized, including `IntoIterator` for `Box<[T; N]>`, `VecDeque::retain_back`, `VaList`, `Box::into_non_null`, `Vec::into_parts`, and more.
  • Other changes include updates to Rust, Cargo, and Clippy, and contributions from many community members.