aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 65fbda3..9d9cbd5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -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 {} }