Rollup merge of #138162 - ehuss:library-2024, r=cuviper

Update the standard library to Rust 2024

This updates the standard library to Rust 2024. This includes the following notable changes:

- Macros are updated to use new expression fragment specifiers. This PR includes a test to illustrate the changes, primarily allowing `const {...}` expressions now.
- Some tests show a change in MIR drop order. We do not believe this will be an observable change ([see zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/268952-edition/topic/standard.20library.20migration/near/500972873)).

Fixes https://github.com/rust-lang/rust/issues/133081
This commit is contained in:
Matthias Krüger 2025-03-13 10:58:21 +01:00 committed by GitHub
commit 448aa30b5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 45 additions and 32 deletions

View file

@ -3,7 +3,7 @@ name = "unwind"
version = "0.0.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-lang/rust.git"
edition = "2021"
edition = "2024"
include = [
'/libunwind/*',
]