From b0827fc1e2c5d989fa57dc7d91ba330dffaaf0aa Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 8 Jan 2025 08:15:55 +0100 Subject: rust: add 2024 edition Rust edition 2024 is being released in February, add support for rust_std=2024. Resolves: #14074 Signed-off-by: Paolo Bonzini --- docs/markdown/snippets/rust-2024.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 docs/markdown/snippets/rust-2024.md (limited to 'docs') diff --git a/docs/markdown/snippets/rust-2024.md b/docs/markdown/snippets/rust-2024.md new file mode 100644 index 000000000..b1334d326 --- /dev/null +++ b/docs/markdown/snippets/rust-2024.md @@ -0,0 +1,5 @@ +## Support for Rust 2024 + +Meson can now request the compiler to use the 2024 edition of Rust. Use +`rust_std=2024` to activate it. Rust 2024 requires the 1.85.0 version +(or newer) of the compiler. -- cgit v1.2.3