Re: [PATCH 1/2] rust: pass correct target to bindgen on Usermode Linux
From: David Gow
Date: Tue Mar 18 2025 - 04:08:09 EST
On Sat, 8 Feb 2025 at 21:32, Thomas Weißschuh <linux@xxxxxxxxxxxxxx> wrote:
>
> Usermode Linux uses "um" as primary architecture name and the underlying
> physical architecture is provided in "SUBARCH".
> Resolve the target architecture flags through that underlying architecture.
> This is the same pattern as used by scripts/Makefile.clang from which
> the bindgen flags are derived.
>
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
> ---
Is there anything holding this up for the upcoming merge window?
Miguel: I'm assuming you'd rather take this (and possibly [1] as well)
via Rust, but if it goes in via the uml tree, that'd be fine by me,
too.
Cheers,
-- David
[1]: https://lore.kernel.org/linux-um/20250210105353.2238769-2-davidgow@xxxxxxxxxx/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature