Re: [PATCH v3 4/4] s390: Enable Rust support
From: Miguel Ojeda
Date: Wed May 27 2026 - 04:30:36 EST
On Wed, May 27, 2026 at 8:53 AM Heiko Carstens <hca@xxxxxxxxxxxxx> wrote:
>
> On Wed, May 27, 2026 at 05:59:43AM +0000, Alice Ryhl wrote:
> >
> > For other version constraints we have listed them in the Kconfig file to
> > guard the select HAVE_RUST or similar annotations instead of here. Is
> > this the best place to add this constraint?
>
> This is supposed to be the default location for such constraints.
>
> See also the current limitiations for gcc and llvm in the same file, or the
> previous limitations of llvm for x86 and s390, which have been removed with
> commit 20c098928356 ("kbuild: Bump minimum version of LLVM for building the
> kernel to 15.0.0").
Yeah, if it can be done in that file (i.e. if it doesn't require the
kernel configuration otherwise), then it is best to keep it there.
Cheers,
Miguel