Tier: 3
Trusty is a secure Operating System that provides a Trusted Execution Environment (TEE) for Android.
- Nicole LeGare (@randomPoison)
- Andrei Homescu (@ahomescu)
- Chris Wailes ([email protected])
- As a fallback [email protected] can be contacted
These targets are cross-compiled. They have no special requirements for the host.
Trusty targets have partial support for the standard library: alloc
is fully
supported and std
has limited support that excludes things like filesystem
access, network I/O, and spawning processes/threads. File descriptors are
supported for the purpose of IPC.
Trusty uses the ELF file format.
The targets can be built by enabling them for a rustc
build, for example:
[build]
build-stage = 1
target = ["aarch64-unknown-trusty", "armv7-unknown-trusty"]
There is currently no supported way to build a Trusty app with Cargo. You can follow the Trusty build instructions to build the Trusty kernel along with any Rust apps that are setup in the project.
See the Trusty build instructions for information on how to build Rust code within the main Trusty project. The main project also includes infrastructure for testing Rust applications within a QEMU emulator.
See the Trusty build instructions for information on how C code is built within Trusty.