diff options
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1,13 +1,9 @@ -#![feature(no_std)] -#![feature(lang_items)] #![no_std] +#![feature(lang_items)] #![crate_type = "rlib"] #![crate_name = "ctru"] -pub mod raw; - -pub type Result = i32; -pub type Handle = u32; +extern crate ctru_sys as libctru; pub mod srv; pub mod gfx; @@ -19,6 +15,5 @@ pub use srv::Srv; pub use gfx::Gfx; pub use sdmc::Sdmc; -#[lang = "stack_exhausted"] extern fn stack_exhausted() {} #[lang = "eh_personality"] extern fn eh_personality() {} #[lang = "panic_fmt"] fn panic_fmt() -> ! { loop {} } |