Skip to content
Commit 724a75ac authored by Jamie Cunliffe's avatar Jamie Cunliffe Committed by Catalin Marinas
Browse files

arm64: rust: Enable Rust support for AArch64



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: default avatarJamie Cunliffe <Jamie.Cunliffe@arm.com>
Acked-by: default avatarWill Deacon <will@kernel.org>
Tested-by: default avatarDirk Behme <dirk.behme@de.bosch.com>
Tested-by: default avatarBoqun Feng <boqun.feng@gmail.com>
Acked-by: default avatarMiguel Ojeda <ojeda@kernel.org>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Tested-by: default avatarAlice Ryhl <aliceryhl@google.com>
Tested-by: default avatarFabien Parent <fabien.parent@linaro.org>
Link: https://lore.kernel.org/r/20231020155056.3495121-3-Jamie.Cunliffe@arm.com
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent f82811e2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment