Andrea Ciliberti
10f70aa026
|
1 year ago | |
---|---|---|
.. | ||
bindgen-ctru-sys | 2 years ago | |
src | 2 years ago | |
Cargo.toml | 1 year ago | |
README.md | 1 year ago | |
bindgen.sh | 2 years ago | |
build.rs | 2 years ago |
README.md
ctru-sys
Raw Rust bindings over the libctru
C library.
Requirements
To use the bindings provided by this crate you will need to link against the libctru
library.
Consult the ctru-rs
wiki to learn how to obtain the required packages
to use this library.
Version
This crate's version changes according to the version of libctru
used to generate the bindings, with the following convention:
libctru
versionX.Y.Z-W
ctru-sys
versionXY.Z.P+X.Y.Z-W
where P
is usually 0 but may be incremented for fixes in e.g.
binding generation, libc
dependency bump, etc.
It may be possible to build this crate against a different version of libctru
,
but you may encounter linker errors or ABI issues. A build-time Cargo warning
(displayed when built with -vv
) will be issued if the build script detects
a mismatch or is unable to check the installed libctru
version.
Generating bindings
Bindings of new versions of libctru
can be built using the integrated bindgen.sh
script.
License
This project is distributed under the Zlib license.