Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions posts/2025-01-22-rust-2024-beta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: post
title: "Rust 2024 in beta channel"
author: "TC & Eric Huss"
team: the Edition 2024 Project Group <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html>
---

# Rust 2024 in beta channel

The next edition, Rust 2024, has entered the beta channel. It will live there until 2025-02-20, when Rust 1.85 and Rust 2024 will be released as stable.

We're really happy with how Rust 2024 has turned out, and we're looking forward to putting it in your hands.

You can get a head start in preparing your code for the new edition, and simultaneously help us with final testing of Rust 2024, by following these steps within a project:

1. Run `rustup update beta`.
2. Run `cargo update`.
3. Run `cargo +beta fix --edition`.
4. Set `edition = "2024"` and, if needed, `rust-version = "1.85"`, in `Cargo.toml`.
5. Run `cargo +beta check`, address any remaining warnings, and then run other tests.

More details on how to migrate can be found [here](https://doc.rust-lang.org/nightly/edition-guide/editions/transitioning-an-existing-project-to-a-new-edition.html) and within each of the [chapters](https://doc.rust-lang.org/nightly/edition-guide/rust-2024/) describing the changes in Rust 2024. For more on the changes themselves, see the [Edition Guide](https://doc.rust-lang.org/nightly/edition-guide/).

If you encounter any problems or see areas where we could make the experience better, tell us about it by [filing an issue](https://github.com/rust-lang/rust/issues/new/choose).
Loading