aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
blob: 831155285f14dafc3e521d7c320efe86e31605c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![feature(no_std)]
#![feature(lang_items)]
#![no_std]
#![crate_type = "rlib"]
#![crate_name = "ctru"]

pub mod raw;

pub type Result = i32;
pub type Handle = u32;

pub mod srv;
pub mod gfx;
pub mod services;

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