diff options
author | Gary Guo <gary@garyguo.net> | 2024-10-11 13:40:33 +0200 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2024-10-13 22:22:28 +0200 |
commit | af0121c2d303111d363c62e40413ffb39d5dc0f1 (patch) | |
tree | 9f99fbc0e5e054de6a2670e6ca188397181382d7 /block/blk-cgroup.h | |
parent | kbuild: fix issues with rustc-option (diff) | |
download | linux-af0121c2d303111d363c62e40413ffb39d5dc0f1.tar.xz linux-af0121c2d303111d363c62e40413ffb39d5dc0f1.zip |
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>
Diffstat (limited to 'block/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions