Rust 1.100.0 stabilizes the never type and updates Cargo

The Rust team released Rust 1.100.0 on November 12, 2026, according to a November 13 report by IT Home. It is the first Rust stable release with a three-digit version number.

The release stabilizes the never type, written !, after roughly 10 years and five attempts to stabilize it. The type represents a computation that never produces a value. Developers can now use it explicitly in type definitions such as Result<T, !>. Infallible is now an alias for !. One compatibility change to watch: in the Rust 2015, 2018 and 2021 editions, the default fallback for the never type changes from () to !, which may affect some code.

Rust 1.100.0 also stabilizes core parts of the Allocator API, allowing custom allocators to be used with Vec and Box. New standard-library APIs include core::mem::DropGuard, which runs a closure when a variable leaves scope, and the unsafe std::mem::conjure_zst interface for creating zero-sized types under appropriate safety conditions.

For Cargo users, the release adds default warnings for declared dependencies that build targets do not use and changes how build-cache directories are organized to reduce conflicts between build configurations. It also stabilizes min-publish-age: developers can configure Cargo to skip dependency versions published too recently when resolving updates. For example, setting global-min-publish-age = "3 days" in .cargo/config.toml gives scanning tools and the community more time to identify potentially malicious package versions. The limit can be overridden through an environment variable for an individual update.

Users who installed Rust through rustup can update with rustup update stable.

Source: ithome.com (originally published 2026-11-13 12:30 UTC+8)