You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ronald Kinard
dcfb9c1bd6
|
9 years ago | |
---|---|---|
src | 9 years ago | |
.gitignore | 10 years ago | |
3ds.json | 10 years ago | |
Cargo.toml | 9 years ago | |
README.md | 9 years ago | |
build.rs | 10 years ago | |
rawunused.rs | 10 years ago |
README.md
ctru-rs
A Rust wrapper library for smealum's ctrulib. Intended for use only when targeting CTR.
How to build
- Install the devkitARM toolchain for your system. Make sure
DEVKITPRO
is set in your environment. - Modify ~/.cargo/config and add the following lines:
[target.3ds]
ar = "/path/to/arm-none-eabi-ar"
- Build with
cargo build --target 3ds.json
. - A dkA linkable .rlib (static library) will be generated. Read below for instructions on using.
How to use
You can build your homebrew projects through Cargo just as easily as any other
platform. Add this to your Cargo.toml
:
[dependencies.ctru-rs]
git="https://github.com/Furyhunter/ctru-rs"
It is highly recommended to use the template project.
Contributing
PR's are welcome. Organization of rust specific features and wrapper functionality has not been decided on yet.