2023-07-12 21:10:05 +10:00
|
|
|
#![no_std]
|
|
|
|
#![no_main]
|
|
|
|
// This is required to allow writing tests
|
|
|
|
#![cfg_attr(test, feature(custom_test_frameworks))]
|
|
|
|
#![cfg_attr(test, reexport_test_harness_main = "test_main")]
|
|
|
|
#![cfg_attr(test, test_runner(agb::test_runner::test_runner))]
|
|
|
|
|
2023-07-13 00:38:09 +10:00
|
|
|
#[cfg(feature = "xm")]
|
|
|
|
pub use agb_xm::import_xm;
|
|
|
|
|
|
|
|
pub use agb_tracker_interop as __private;
|
|
|
|
|
|
|
|
pub use __private::Track;
|
|
|
|
|
2023-07-12 21:10:05 +10:00
|
|
|
#[cfg(test)]
|
|
|
|
mod tests {
|
|
|
|
#[test_case]
|
|
|
|
fn it_works(_gba: &mut agb::Gba) {
|
|
|
|
assert_eq!(1, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[cfg(test)]
|
|
|
|
#[agb::entry]
|
|
|
|
fn main(gba: agb::Gba) -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|