Files
ack-tegra/scripts/Kconfig.include
Gary Guo 62376f9e47 FROMGIT: kbuild: rust: add CONFIG_RUSTC_LLVM_VERSION
Each version of Rust supports a range of LLVM versions. There are cases where
we want to gate a config on the LLVM version instead of the Rust version.
Normalized cfi integer tags are one example [1].

The invocation of rustc-version is being moved from init/Kconfig to
scripts/Kconfig.include for consistency with cc-version.

Link: https://lore.kernel.org/all/20240925-cfi-norm-kasan-fix-v1-1-0328985cdf33@google.com/ [1]
Signed-off-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/r/20241011114040.3900487-1-gary@garyguo.net
[ Added missing `-llvm` to the Usage documentation. - Miguel ]
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

Bug: 359429865
(cherry picked from commit af0121c2d3
 https://github.com/Rust-for-Linux/linux.git rust-fixes)
Change-Id: I4a54c0c0963504e99583c32b507c8e257301094d
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
2024-10-16 08:57:41 +00:00

3.3 KiB