On Thu, Oct 10, 2024 at 12:55 PM Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > On Thu, Oct 10, 2024 at 11:38 AM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote: > > > > From: Gary Guo <gary@xxxxxxxxxxx> > > > > 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]. > > > > For consistency with cc-version and ld-version, the new version number is added > > to the existing rustc-version script, rather than being added to a new script. > > > > The invocation of rustc-version is being moved from init/Kconfig to > > scripts/Kconfig.include to avoid invoking rustc-version.sh twice and for > > consistency with cc-version. > > > > Link: https://lore.kernel.org/all/20240925-cfi-norm-kasan-fix-v1-1-0328985cdf33@xxxxxxxxxx/ [1] > > Signed-off-by: Gary Guo <gary@xxxxxxxxxxx> > > Alice: when I apply this, I will need to add your Signed-off-by here > (i.e. when handling patches from others, you need to add your SoB > too). Oh, sorry I forgot about this. Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>