mirror of
https://github.com/Conando025/libnds-rs.git
synced 2025-06-19 08:15:33 -04:00
20 lines
325 B
Rust
20 lines
325 B
Rust
#![no_std]
|
|
#![feature(start)]
|
|
|
|
extern crate nitro_rs;
|
|
|
|
#[cfg(target_os = "nintendo_ds_arm7")]
|
|
mod arm7;
|
|
|
|
#[cfg(target_os = "nintendo_ds_arm9")]
|
|
mod arm9;
|
|
|
|
#[global_allocator]
|
|
static ALLOCATOR: libc_alloc::LibcAlloc = libc_alloc::LibcAlloc;
|
|
|
|
#[panic_handler]
|
|
fn panic(_info: &core::panic::PanicInfo) -> ! {
|
|
loop {
|
|
}
|
|
}
|