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

segfo/rust-uefi-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 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/

this repository clone, and run the build(make command).

$ git clone https://github.com/segfo/rust-uefi-sample
$ cd rust-uefi-sample
$ export RUST_TARGET_PATH=`pwd`
$ make

How to run

  • 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

Languages

  • Rust 94.5%
  • Makefile 5.3%
  • Assembly 0.2%