ogc-rs
ogc-rs copied to clipboard
Rust on Nintendo Wii - A safe, idiomatic Rust wrapper for devkitPro's libogc
ogc-rs
A Rust wrapper library for devkitPro's libogc.
To get started, you'll first need to install the following dependencies on your system:
- Rust, along with rustup and cargo
- the Clang compiler
- from your local package manager,
- or from LLVM themselves
- devkitPro toolchain
Then you'll need to fork this repo and git clone your fork into your local machine.
When that's done, do the following:
$ cd ogc-rs
$ rustup override set nightly
$ rustup component add rust-src
$ cargo check
If everything's working properly, cargo check should run successfully.
See the Wii testing project for an example on how to use this library.
Structure
This repository is organized as follows:
ogc-rs: Safe, idiomatic wrapper aroundogc-sys.ogc-sys: Low-level, unsafe bindings to libogc.
License
See LICENSE for more details.