aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 2bec58d0d5ba41a44d100feb63ed27ebcaa634f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#![feature(lang_items, alloc, collections, macro_reexport, allow_internal_unstable)]
#![no_std]
#![crate_type = "rlib"]
#![crate_name = "ctru"]

extern crate alloc;
#[macro_reexport(format, vec)]
extern crate collections;

extern crate ctru_sys as libctru;

pub mod console;
pub mod srv;
pub mod gfx;
pub mod sdmc;

pub mod services;

pub use srv::Srv;
pub use gfx::Gfx;
pub use sdmc::Sdmc;

#[lang = "eh_personality"]
extern "C" fn eh_personality() {}
#[lang = "panic_fmt"]
fn panic_fmt() -> ! {
    loop {}
}