#efi #uefi #runner #x86-64

app efi-runner

A runner for EFI executables using QEMU and OVMF

2 releases

0.1.1 Aug 25, 2023
0.1.0 Aug 25, 2023

#508 in Development tools

38 downloads per month

MIT license

1.5MB

efi-runner

A runner for EFI executables using QEMU and OVMF.

Prerequisites

You must have QEMU installed, as it is used for emulating a UEFI.

How to Install

To install efi-runner, you must use cargo install on the nightly channel with the bindeps unstable feature enabled:

cargo +nightly install efi-runner -Z bindeps

How to Use

Create a .cargo/config.toml file in your project if it doesn't already exist and add the following:

[target.x86_64-unknown-uefi]
runner = "efi-runner"

After that, you're good to go! efi-runner is configured as your UEFI target runner and whenever you run your project, for example, like so:

cargo run

a QEMU window will open with your program loaded in it.

Screenshot 2023-08-24 at 10 50 14 PM

Dependencies

~6–17MB
~205K SLoC