17. Armv8-A bare-metal (hard-float)¶
The aarch64-unknown-none Ferrocene target provides support for
bare-metal ARMv8-A processors operating in Aarch64 mode.
17.1. Prerequisites¶
This target has no pre-requisites.
17.2. Archives to install¶
The following archives are needed when installing this target as a cross-compilation target:
rust-std-aarch64-unknown-none
17.3. Required compiler flags¶
To use the target, the following additional flags must be provided to
rustc:
--target=aarch64-unknown-none
17.4. Permitted compiler flags¶
Specific -C target-cpu flags are tested and are permitted in
safety critical use. They may be passed to rustc during build.
-C target-cpu=cortex-a53, supporting Cortex-A53 processors only.
17.5. Testing Facade (Experimental)¶
Bare metal targets cannot use test harnesses that require libc. Instead, a testing facade that emulates the bare metal target can
be used instead, but also provides access to std
functionality.
The following additional archive is needed when installing:
rust-std-aarch64-unknown-ferrocene.facade
This target is the same as the one it proxies, except it includes a Linux libc,
which means it can use std for testing and enriched interactive development on a
Armv8-A Linux (glibc) or x86-64 Linux (glibc) host.
For more information, consult Testing Facades.