This project is a skeleton project meant to kickoff new libdragon-rs projects quickly. This project is meant to be built only in Linux (or WSL2).
- Install dependencies:
apt-get install build-essential gcc make clang
- Install Rust and make sure
cargo
is in your path. - Install Justfile:
cargo install just
- Clone this repo:
git clone https://github.com/sarchar/libdragon-rs-template
- Build this repo:
cd libdragon-rs-template && just build
The output N64 program will be at ./target/mips-nintendo64-none/debug/libdragon-rs-template.z64
, along with various intermediate files in the same directory.