]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: simplify `RUSTC_VERSION` Kconfig conditions
authorMiguel Ojeda <ojeda@kernel.org>
Sun, 5 Apr 2026 23:52:44 +0000 (01:52 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Tue, 7 Apr 2026 08:00:23 +0000 (10:00 +0200)
commitb28711ac98e8b43bfbf5c918022018a54dcedd45
tree649e8a817507b0d75651a64b001216243b9601ef
parent7ed188605e1d30e8b45d78846e3bc2bbb6394948
rust: simplify `RUSTC_VERSION` Kconfig conditions

With the Rust version bump in place, several Kconfig conditions based on
`RUSTC_VERSION` are always true.

Thus simplify them.

The minimum supported major LLVM version by our new Rust minimum version
is now LLVM 18, instead of LLVM 16. However, there are no possible
cleanups for `RUSTC_LLVM_VERSION`.

Reviewed-by: Tamir Duberstein <tamird@kernel.org>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260405235309.418950-9-ojeda@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
arch/Kconfig
arch/arm64/Kconfig
arch/riscv/Kconfig
init/Kconfig