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

Alice Ryhl aliceryhl at google.com
Mon Jan 22 01:30:48 PST 2024


Jamie Cunliffe <Jamie.Cunliffe at arm.com> writes:
> This commit provides the build flags for Rust for AArch64. The core Rust
> support already in the kernel does the rest. This enables the PAC ret
> and BTI options in the Rust build flags to match the options that are
> used when building C.
> 
> The Rust samples have been tested with this commit.
> 
> Signed-off-by: Jamie Cunliffe <Jamie.Cunliffe at arm.com>
> Acked-by: Will Deacon <will at kernel.org>

Tested with Rust Binder.

Tested-by: Alice Ryhl <aliceryhl at google.com>



More information about the linux-arm-kernel mailing list