This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/[email protected]/ [1] Signed-off-by: Gary Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Added missing `-llvm` to the Usage documentation. - Miguel ] Signed-off-by: Miguel Ojeda <[email protected]> Bug: 359429865 (cherry picked from commit af0121c https://github.com/Rust-for-Linux/linux.git rust-fixes) Change-Id: I4a54c0c0963504e99583c32b507c8e257301094d Signed-off-by: Alice Ryhl <[email protected]>
- Loading branch information