gba/src/lib.rs

25 lines
720 B
Rust
Raw Normal View History

2018-11-08 15:21:17 +11:00
#![no_std]
#![warn(missing_docs)]
//! This crate helps you write GBA ROMs.
//!
//! # SAFETY POLICY
//!
//! Some parts of this crate are safe wrappers around unsafe operations. This is
//! good, and what you'd expect from a Rust crate.
//!
//! However, the safe wrappers all assume that you will _only_ attempt to
//! execute this crate on a GBA or in a GBA Emulator.
//!
//! **Do not** use this crate in programs that aren't running on the GBA. If you
//! do, it's a giant bag of Undefined Behavior.
2018-11-09 14:33:47 +11:00
pub(crate) use gba_proc_macro::bit_register;
//pub mod macros; // un-comment once we get some
pub mod core_extras;
pub(crate) use crate::core_extras::*;
pub mod io_registers;
//pub(crate) use crate::io_registers::*;