Announcing Rust 1.99.0 | Rust Blog

blog.rust-lang.org · 2026-10-01 · by Long Nguyen ·generic
Empowering everyone to build reliable and efficient software.

Announcing Rust 1.99.0 | Rust Blog

Oct. 1, 2026 · The Rust Release Team

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!

[](https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/#what-s-in-1-99-0-stable)What's in 1.99.0 stable

[](https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/#extern-c-variadics)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(0i32, 2i32) } }

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.

[](https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/#layout-information-from-raw-pointers)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:

[](https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/#other-changes)Other changes

Check out everything that changed in Rust, Cargo, and Clippy.

[](https://blog.rust-lang.org/2026/10/01/Rust-1.99.0/#contributors-to-1-99-0)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!

blog.rust-lang.org · 6 images · 51 links

Comments (0)

No comments yet