Email me

Rust versions / 1.12

Rust release · Sep 29, 2016

Rust 1.12: what's new, what was stabilized

Short answerRust 1.12 was released on Sep 29, 2016: 18 newly stable APIs (Cell::as_ptr, RefCell::as_ptr, IpAddr::is_unspecified, IpAddr::is_loopback, ...); 3 compatibility notes that can affect existing code. Point release: 1.12.1 (Oct 20, 2016).

Sep 29, 2016release date
0language stabilizations
18APIs stabilized
-new edition

← Rust 1.11All versionsRust 1.13 →

18 APIs stabilized

Cell::as_ptr, RefCell::as_ptr, IpAddr::is_unspecified, IpAddr::is_loopback, IpAddr::is_multicast, Ipv4Addr::is_unspecified, Ipv6Addr::octets, LinkedList::contains, VecDeque::contains, ExitStatusExt::from_raw, Receiver::recv_timeout, RecvTimeoutError, BinaryHeap::peek_mut, PeekMut, iter::Product, iter::Sum, OccupiedEntry::remove_entry, VacantEntry::into_key

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

To require at least this version from users of your crate, set rust-version = "1.12" 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

Highlights

Compiler

Diagnostics

Language

Stabilized APIs

Libraries

Cargo

Performance

Tooling

Misc

Compatibility Notes

1.12.1 (Oct 20, 2016)

Regression Fixes ----------------

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

← Rust 1.11All versionsRust 1.13 →

Up next

Next releaseRust 1.13Released Nov 10, 2016.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