[PATCH v4 1/2] rust: Refactor the build target to allow the use of builtin targets

Ingo Molnar mingo at kernel.org
Sun Oct 22 04:07:33 PDT 2023


* Catalin Marinas <catalin.marinas at arm.com> wrote:

> On Fri, Oct 20, 2023 at 04:50:55PM +0100, Jamie Cunliffe wrote:
> > Eventually we want all architectures to be using the target as defined
> > by rustc. However currently some architectures can't do that and are
> > using the target.json specification. This puts in place the foundation
> > to allow the use of the builtin target definition or a target.json
> > specification.
> > 
> > Signed-off-by: Jamie Cunliffe <Jamie.Cunliffe at arm.com>
> > ---
> >  Makefile          | 1 -
> >  arch/x86/Makefile | 1 +
> >  rust/Makefile     | 5 ++++-
> >  scripts/Makefile  | 4 +++-
> >  4 files changed, 8 insertions(+), 3 deletions(-)
> 
> Adding the x86 maintainers - no functional change for x86, any objection
> to this patch going in via the arm64 tree (part of the two-patch series
> enabling Rust for arm64)?
> 
> Thanks.
> 
> (keeping the rest of the patch below for your reference)

If Masahiro Yamada (kbuild maintainer, Cc:-ed) is fine with it,
then it will be OK to me too.

Thanks,

	Ingo



More information about the linux-arm-kernel mailing list