Skip to content

Commit 7e63940

Browse files
committed
Merge PR #1461: Announce Rust 2024 in the beta channel
2 parents 2a1d089 + f9aadc6 commit 7e63940

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

posts/2025-01-22-rust-2024-beta.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: post
3+
title: "Rust 2024 in beta channel"
4+
author: "TC & Eric Huss"
5+
team: the Edition 2024 Project Group <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/index.html>
6+
---
7+
8+
# Rust 2024 in beta channel
9+
10+
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.
11+
12+
We're really happy with how Rust 2024 has turned out, and we're looking forward to putting it in your hands.
13+
14+
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:
15+
16+
1. Run `rustup update beta`.
17+
2. Run `cargo update`.
18+
3. Run `cargo +beta fix --edition`.
19+
4. Set `edition = "2024"` and, if needed, `rust-version = "1.85"`, in `Cargo.toml`.
20+
5. Run `cargo +beta check`, address any remaining warnings, and then run other tests.
21+
22+
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/).
23+
24+
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).

0 commit comments

Comments
 (0)