Skip to content

Sample Program for rust-uefi. It's running as a UEFI apps written by Rust.

License

Notifications You must be signed in to change notification settings

orumin/rust-uefi-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What's this?

This is sample program for UEFI apps written by Rust lang!

How to build

  • First, prepare GNU binutils, its target for x86_64-efi-pe
  • Second, you have to use Rust nightly compiler.
$ rustup install nightly
$ rustup default nightly
$ cargo install xargo
$ export PATH="$HOME/.cargo/bin:$PATH"

and introduce x86_64-efi-pe binutils

$ curl -O https://orum.in/distfiles/x86_64-efi-pe-binutils.tar.xz
$ mkdir $PWD/toolchain
$ tar xf x86_64-efi-pe-binutils.tar.xz -C $PWD/toolchain
$ export PATH=$PATH:$PWD/toolchain/usr/bin/

Then, only you run make on root directory.

How to run

  • install mtools on your system
  • then, kick make run command.

About

Sample Program for rust-uefi. It's running as a UEFI apps written by Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published