]> git.ipfire.org Git - thirdparty/linux.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)
committerMiguel Ojeda <ojeda@kernel.org>
Sun, 18 Jan 2026 19:26:29 +0000 (20:26 +0100)
commitac3c50b9a24e9ebeb585679078d6c47922034bb6
tree8bc1d4ce2ea3ff86e15495283abbf66e44d9a05d
parentbc83834c157676e7cca62b876b5e3da1bee06285
scripts: generate_rust_analyzer: compile sysroot with correct edition

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>
scripts/generate_rust_analyzer.py