Announcing Rust 1.99.1
The Rust team has published a new point release of Rust, 1.99.1. Rust is a programming language that is empowering everyone to build reliable and…
Rust 2 versions
-
1 new sentence, beginning: “Instead, Box::into_non_null or Box::into_raw should be preferred.”
Announcing Rust 1.99.0
The Rust team is happy to announce a new version of Rust, 1.99.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, you can get 1.99.0 with: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.99.0. If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel ( rustup default beta ) or the nightly channel ( rustup default nightly ). Please report any bugs you might come across! What's in 1.99.0 stable extern "C" variadics Rust 1.99.0 stabilizes defining C-ABI variadic functions with "C" and "C-unwind" ABIs. Variadic functions defined this way use a variable argument list (... ) and accept an arbitrary number of arguments. Rust could already call externally-defined variadic functions (e.g., libc::printf ). With Rust 1.99, these functions can now be written in Rust itself: /// SAFETY: must be called with (at least) 2 i32 arguments. unsafe extern " C " fn sum ( mut args:... ) -> i32 { // SAFETY: guaranteed by the caller. let a = unsafe { args. next_arg:: i32 > ( ) }; let b = unsafe { args. next_arg:: i32 > ( ) }; a + b } fn foo ( ) -> i32 { unsafe { sum ( 0 i32, 2 i32 ) } } The type of... is VaList, which is ABI-compatible with the C va_list type across targets. What types can be read from a VaList is guarded by the VaArgSafe trait. For more details on c-variadic functions, see the Reference. This release also stabilizes support for defining naked variadic functions with non-"C" ABIs, which must be written via inline assembly. Layout information from raw pointers This release settles the safety requirements for retrieving the size and alignment on raw pointers to both Sized (trivially safe, already possible on stable) and non- Sized types. This is done by stabilizing three functions: Layout::for_value_raw mem::size_of_val_raw mem::align_of_val_raw Recommend against round-trip unleaking after Box::leak While there are no changes to the language semantics in Rust 1.99, we have updated the documentation on Box::leak to recommend against patterns that later deallocate that memory. This was done because such code was found to have problematic interactions with current and future potential compiler optimizations, and is especially problematic with the upcoming stabilization of custom allocators. Instead, Box::into_non_null or Box::into_raw should be preferred. This guidance also applies to other leak functions in the standard library. Stabilized APIs IntoIterator for Box IntoIterator for &Box IntoIterator for &mut Box VecDeque::retain_back core::ffi::VaList Box::into_non_null Box::from_non_null Vec::into_parts Vec::from_parts core::mem::size_of_val_raw core::mem::align_of_val_raw core::alloc::Layout::for_value_raw String::from_utf8_lossy_owned string::FromUtf8Error::into_utf8_lossy FusedIterator for StepBy std::fs::set_times std::fs::set_times_nofollow Other changes Check out everything that changed in Rust, Cargo, and Clippy. Contributors to 1.99.0 Many people came together to create Rust 1.99.0. We couldn't have done it without all of you. Thanks!
-
Announcing Rust 1.99.0
The Rust team is happy to announce a new version of Rust, 1.99.0. Rust is a programming language empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, you can get 1.99.0 with: $ rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.99.0. If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel ( rustup default beta ) or the nightly channel ( rustup default nightly ). Please report any bugs you might come across! What's in 1.99.0 stable extern "C" variadics Rust 1.99.0 stabilizes defining C-ABI variadic functions with "C" and "C-unwind" ABIs. Variadic functions defined this way use a variable argument list (... ) and accept an arbitrary number of arguments. Rust could already call externally-defined variadic functions (e.g., libc::printf ). With Rust 1.99, these functions can now be written in Rust itself: /// SAFETY: must be called with (at least) 2 i32 arguments. unsafe extern " C " fn sum ( mut args:... ) -> i32 { // SAFETY: guaranteed by the caller. let a = unsafe { args. next_arg:: i32 > ( ) }; let b = unsafe { args. next_arg:: i32 > ( ) }; a + b } fn foo ( ) -> i32 { unsafe { sum ( 0 i32, 2 i32 ) } } The type of... is VaList, which is ABI-compatible with the C va_list type across targets. What types can be read from a VaList is guarded by the VaArgSafe trait. For more details on c-variadic functions, see the Reference. This release also stabilizes support for defining naked variadic functions with non-"C" ABIs, which must be written via inline assembly. Layout information from raw pointers This release settles the safety requirements for retrieving the size and alignment on raw pointers to both Sized (trivially safe, already possible on stable) and non- Sized types. This is done by stabilizing three functions: Layout::for_value_raw mem::size_of_val_raw mem::align_of_val_raw Recommend against round-trip unleaking after Box::leak While there are no changes to the language semantics in Rust 1.99, we have updated the documentation on Box::leak to recommend against patterns that later deallocate that memory. This was done because such code was found to have problematic interactions with current and future potential compiler optimizations, and is especially problematic with the upcoming stabilization of custom allocators. Instead, Box::into_non_null should be preferred. This guidance also applies to other leak functions in the standard library. Stabilized APIs IntoIterator for Box IntoIterator for &Box IntoIterator for &mut Box VecDeque::retain_back core::ffi::VaList Box::into_non_null Box::from_non_null Vec::into_parts Vec::from_parts core::mem::size_of_val_raw core::mem::align_of_val_raw core::alloc::Layout::for_value_raw String::from_utf8_lossy_owned string::FromUtf8Error::into_utf8_lossy FusedIterator for StepBy std::fs::set_times std::fs::set_times_nofollow Other changes Check out everything that changed in Rust, Cargo, and Clippy. Contributors to 1.99.0 Many people came together to create Rust 1.99.0. We couldn't have done it without all of you. Thanks!
Versions are compared on the headline and summary the publisher puts in their feed. An edit to the body of an article that leaves both untouched will not appear here.
Why am I seeing this Ranked on source trust — Rust
It ranks mainly on source trust: Rust is the most reliable outlet we track on this subject, and is the only one on the story so far.
It clears the bar without leading strongly on any one factor. A middling score is not a claim that the story is important — only that nothing about it is weak.
Link-outLink-out, because it scores 0.39, below the 0.50 bar for a write-up. Link-out means we point at the publisher and say nothing of our own.
| Factor | Weight | Score | Contribution | Where it came from |
|---|---|---|---|---|
| Corroboration | 0.35 | 0.39 | +0.135 35% | 1 independent org on the story. Tier-3 aggregators never corroborate — they can show something is circulating, never that it is true. |
| Source trustleads | 0.25 | 1.00 | +0.250 64% | Rust is the highest-trust source on this story and is first-party — the organisation announcing its own news. Trust is taken from the best source, not averaged. |
| Pickup rate | 0.20 | 0.00 | +0.000 0% | One counted organisation, so there is no spread to measure — nothing has picked this up to set a rate. |
| Freshness | 0.20 | 0.01 | +0.003 1% | Halves every 10 hours from the newest item on the story. This is the only factor that rewards a story for nothing more than being recent. |
Corroboration counts distinct organisations, once each, and only from tiers 1 and 2. Freshness halves every 10 hours, so this ranking is a snapshot and will differ at the next build.

What happened
The Rust team has published a new point release of Rust, 1.99.1. Rust is a programming language that is empowering everyone to build reliable and efficient software. If you have a previous version of Rust installed via rustup, getting Rust 1.99.1 is as easy as: rustup update stable If you don't have it already, you can get rustup from the appropriate page on our website. What's in 1.99.1 Rust 1.99.1 fixes the following regressions from prior releases: Missing symbol wcslen: Some Rust targets were getting link errors for missing wcslen, and that function is now present in Rust's compiler-builtins library as a fallback.
How this story arrived
Ordered by when each source was first observed, which is what the velocity figure is computed from. Publishers backdate; observed order does not.
- 01 Rustfirst-party first seen Announcing Rust 1.98.1
- 02 Rustfirst-party +0m Announcing Rust 1.98.0
- 03 Rustfirst-party +0m Announcing Rust 1.97.1
- 04 Rustfirst-party +0m Announcing Rust 1.97.0
- 05 Rustfirst-party +639.4h Announcing Rust 1.99.0
- 06 Rustfirst-party +978.4h Announcing Rust 1.99.1
Overclock clusters coverage from independent sources and grades it automatically. The figures above are computed, not editorial. This page summarises and links to reporting by the outlets named — follow the links for the original work.