Email me

Rust versions / 1.76

Rust release · Feb 8, 2024

Rust 1.76: what's new, what was stabilized

Short answerRust 1.76 was released on Feb 8, 2024: 9 newly stable APIs (Arc::unwrap_or_clone, Rc::unwrap_or_clone, Result::inspect, Result::inspect_err, ...); 9 compatibility notes that can affect existing code.

Feb 8, 2024release date
0language stabilizations
9APIs stabilized
-new edition

← Rust 1.75All versionsRust 1.77 →

9 APIs stabilized

Arc::unwrap_or_clone, Rc::unwrap_or_clone, Result::inspect, Result::inspect_err, Option::inspect, type_name_of_val, std::hash::{DefaultHasher, RandomState}, ptr::{from_ref, from_mut}, ptr::addr_eq

Can it break my build?

The release lists these compatibility notes. Most only affect rare code, but read them before you raise your toolchain in CI:

Use it

rustup update stable        # get the newest release
rustup install 1.76          # or exactly this one
rustup override set 1.76     # pin a project to it

To require at least this version from users of your crate, set rust-version = "1.76" under [package] in Cargo.toml. Cargo then refuses to build it on older compilers with a clear message, and with resolver 3 (the default on the 2024 edition, Rust 1.85+) it also prefers dependency versions that support it.

Full release notes

Language

<a id="1.76.0-Compiler"></a>

Compiler

Refer to Rust's [platform support page][platform-support-doc] for more information on Rust's tiered platform support.

<a id="1.76.0-Libraries"></a>

Libraries

<a id="1.76.0-Stabilized-APIs"></a>

Stabilized APIs

<a id="1.76.0-Cargo"></a>

Cargo

See Cargo release notes.

<a id="1.76.0-Rustdoc"></a>

Rustdoc

<a id="1.76.0-Compatibility-Notes"></a>

Compatibility Notes

Release notes from the Rust project's RELEASES.md (MIT or Apache-2.0); summaries above are ours.

← Rust 1.75All versionsRust 1.77 →

Up next

Next releaseRust 1.77Released Mar 21, 2024.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ