Skip to content

Commit d289e0c

Browse files
nicholasbishopGabrielMajeri
authored andcommitted
docs: update the lists of UEFI targets
1 parent 4222d50 commit d289e0c

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

BUILDING.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
UEFI applications are simple COFF (Windows) executables, with the special
44
`EFI_Application` subsystem, and some limitations (such as no dynamic linking).
5-
[Rust supports building UEFI applications](https://github.com/rust-lang/rust/pull/56769)
6-
though the `x86_64-unknown-uefi` target.
5+
Rust supports building UEFI applications for the
6+
[`aarch64-unknown-uefi`], [`i686-unknown-uefi`], and [`x86_64-unknown-uefi`]
7+
targets.
78

89
## Template
910

@@ -37,3 +38,7 @@ application. Copy it to a new directory to get started.
3738
- You will need a recent version of QEMU as well as OVMF to provide UEFI support
3839
- Check the [`build.py`](uefi-test-runner/build.py) script for an idea of
3940
what arguments to pass to QEMU
41+
42+
[`aarch64-unknown-uefi`]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_target/src/spec/aarch64_unknown_uefi.rs
43+
[`i686-unknown-uefi`]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_target/src/spec/i686_unknown_uefi.rs
44+
[`x86_64-unknown-uefi`]: https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_target/src/spec/x86_64_unknown_uefi.rs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ OS loaders, hypervisors and other low-level applications. While it started out
1313
as x86-specific, it has been adopted on other platforms, such as ARM.
1414

1515
This crate makes it easy to both:
16-
- Write UEFI applications in Rust (for `x86_64` or `aarch64`)
16+
- Write UEFI applications in Rust (for `i686`, `x86_64`, or `aarch64`)
1717
- Call UEFI functions from an OS (usually built with a [custom target][rustc-custom])
1818

1919
The objective is to provide **safe** and **performant** wrappers for UEFI interfaces,

0 commit comments

Comments
 (0)