Email me

Rust versions / 1.73

Rust release · Oct 5, 2023

Rust 1.73: what's new, what was stabilized

Short answerRust 1.73 was released on Oct 5, 2023: 19 newly stable APIs ({integer}::div_ceil, {integer}::next_multiple_of, {integer}::checked_next_multiple_of, std::ffi::FromBytesUntilNulError, ...); 2 compatibility notes that can affect existing code.

Oct 5, 2023release date
0language stabilizations
19APIs stabilized
-new edition

← Rust 1.72All versionsRust 1.74 →

19 APIs stabilized

{integer}::div_ceil, {integer}::next_multiple_of, {integer}::checked_next_multiple_of, std::ffi::FromBytesUntilNulError, std::os::unix::fs::chown, std::os::unix::fs::fchown, std::os::unix::fs::lchown, LocalKey::<Cell<T>>::get, LocalKey::<Cell<T>>::set, LocalKey::<Cell<T>>::take, LocalKey::<Cell<T>>::replace, LocalKey::<RefCell<T>>::with_borrow, LocalKey::<RefCell<T>>::with_borrow_mut, LocalKey::<RefCell<T>>::set, LocalKey::<RefCell<T>>::take, LocalKey::<RefCell<T>>::replace, rc::Weak::new, sync::Weak::new, NonNull::as_ref

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.73          # or exactly this one
rustup override set 1.73     # pin a project to it

To require at least this version from users of your crate, set rust-version = "1.73" 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.73.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.73.0-Libraries"></a>

Libraries

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

Stabilized APIs

These APIs are now stable in const contexts:

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

Cargo

<a id="1.73.0-Misc"></a>

Misc

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

Compatibility Notes

<a id="1.73.0-Internal-Changes"></a>

Internal Changes

These changes do not affect any public interfaces of Rust, but they represent significant improvements to the performance or internals of rustc and related tools.

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

← Rust 1.72All versionsRust 1.74 →

Up next

Next releaseRust 1.74Released Nov 16, 2023.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