linux/Documentation/rust
Jamie Cunliffe 724a75ac95 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: Jamie Cunliffe <Jamie.Cunliffe@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Tested-by: Boqun Feng <boqun.feng@gmail.com>
Acked-by: Miguel Ojeda <ojeda@kernel.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Alice Ryhl <aliceryhl@google.com>
Tested-by: Fabien Parent <fabien.parent@linaro.org>
Link: https://lore.kernel.org/r/20231020155056.3495121-3-Jamie.Cunliffe@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2024-02-09 16:12:36 +00:00
..
arch-support.rst arm64: rust: Enable Rust support for AArch64 2024-02-09 16:12:36 +00:00
coding-guidelines.rst rust: support srctree-relative links 2023-12-21 20:54:17 +01:00
general-information.rst docs: rust: Add rusttest info 2023-12-21 22:47:40 +01:00
index.rst docs: rust: add "The Rust experiment" section 2023-10-25 03:14:00 +02:00
quick-start.rst docs: rust: Clarify that 'rustup override' applies to build directory 2023-12-21 22:47:40 +01:00