]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts: generate_rust_analyzer: compile sysroot with correct edition
authorTamir Duberstein <tamird@kernel.org>
Fri, 16 Jan 2026 20:46:04 +0000 (15:46 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Feb 2026 15:57:42 +0000 (16:57 +0100)
commit2426867644cc722e108439bf3d4e046ac45c6583
treee3be6df518192409942ae6b8b83913280743c78b
parentce798a0fe6b79560bed5363f1082da6fef2ea3df
scripts: generate_rust_analyzer: compile sysroot with correct edition

commit ac3c50b9a24e9ebeb585679078d6c47922034bb6 upstream.

Use `core_edition` for all sysroot crates rather than just core as all
were updated to edition 2024 in Rust 1.87.

Fixes: f4daa80d6be7 ("rust: compile libcore with edition 2024 for 1.87+")
Signed-off-by: Tamir Duberstein <tamird@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260116-rust-analyzer-sysroot-v2-1-094aedc33208@kernel.org
[ Added `>`s to make the quote a single block. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/generate_rust_analyzer.py