mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-08-26 18:26:05 -04:00
No description
| .editorconfig | ||
| .gitattributes | ||
| .gitignore | ||
| README.md | ||
uefi-rs
This library allows you to write UEFI applications in Rust.
Documentation
The best way to learn how to write UEFI applications is to read the [UEFI spec][spec]
and look at the example code in the tests directory.
There is also the x86_64-uefi.json file, which is
a custom Rust target for 64-bit UEFI applications.
Running the tests
Prerequisites
- QEMU
- Python 3
- OVMF:
You need to extract
OVMF_CODE.fdandOVMF_VARS.fdto the same directory as thebuild.pyfile. Alternatively, install OVMF using your distro's package manager and change the paths in the script file.
Steps
It's as simple as running the build.py script with the build and run arguments:
./build.py build run
You can also pass doc for generating documentation, or clippy to run Clippy.