mgba-sys 0.1.0

Raw FFI bindings to libmgba (GBA emulator core)
docs.rs failed to build mgba-sys-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

mgba-sys

Raw FFI bindings to libmgba, a Game Boy Advance emulator core.

Vendored libmgba

This crate includes a vendored copy of the libmgba source (GBA-only, trimmed to ~3 MB) built automatically by the build.rs script. No git submodules required.

Building

Requires:

  • cmake — builds the vendored libmgba C library
  • clang — used by bindgen to generate Rust bindings
  • zlib — compression library (usually pre-installed on macOS/Linux)
cargo build -p mgba-sys

Usage

This crate exposes the raw C API. For a safe wrapper, use the mgba crate instead.

License

MIT — applies to the Rust binding code in this crate. The bundled libmgba library (mgba/) is licensed under MPL-2.0.