[PATCH v4 2/2] arm64: rust: Enable Rust support for AArch64

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Wed Dec 13 11:00:44 PST 2023


On Tue, Oct 31, 2023 at 7:31 PM Matthew Maurer <mmaurer at google.com> wrote:
>
> If we really do want to go ahead with using targets directly form
> rustc, this patch should add `--sysroot=/dev/null` or a similar
> override to `rustc_library_cmd` and `rust_common_cmd` to prevent rustc
> from picking up any already installed sysroot libraries.

For reference, Matthew sent the patch to do this at
https://lore.kernel.org/rust-for-linux/20231031201752.1189213-1-mmaurer@google.com/
and I have picked it up in `rust-next` (with a couple extra changes
noted in that thread), so this should be OK.

When this series also arrives in `-next` I will be testing the
combination further just in case.

Cheers,
Miguel



More information about the linux-arm-kernel mailing list