This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Rust · Archive · Week 5 · Jan 27 – Feb 2, 2025

Rust 2024 in beta channel

Worth knowingtooling

What changed
The Rust team announced that the Rust 2024 edition is now available on the beta channel.
Production impact
The source does not say.
Try it
Install the beta toolchain with rustup install beta and run rustc --edition=2024 --version.
Source
blog.rust-lang.org/2025/01/22/rust-2024-beta.html

Understand it, then run it

Run it now

Todayrust
// This program demonstrates that the Rust 2024 edition is available on the beta channel.
// Compile with: rustc +beta --edition=2024 main.rs
fn main() {
    // The 2024 edition introduces no new syntax that we can showcase here,
    // but the program compiles successfully on the beta channel.
    println!("Rust 2024 edition is now on the beta channel.");
}

What it printed when we ran it on Rust 1.98.1 (edition 2024)

Rust 2024 edition is now on the beta channel.

Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed