diff options
| author | Ronald Kinard <[email protected]> | 2016-05-03 01:15:18 -0500 |
|---|---|---|
| committer | Ronald Kinard <[email protected]> | 2016-05-03 01:15:18 -0500 |
| commit | ff5a09832fe4534f657b3dcd80dff9e178ee0d70 (patch) | |
| tree | af443f2e659a288b45cc5db980f1ae6180739163 /src/lib.rs | |
| parent | Whoops, that's zlib, not BSD-3. (diff) | |
| parent | Update AUTHORS.md (diff) | |
| download | ctru-rs-ff5a09832fe4534f657b3dcd80dff9e178ee0d70.tar.xz ctru-rs-ff5a09832fe4534f657b3dcd80dff9e178ee0d70.zip | |
Merge pull request #4 from FenrirWolf/master
Compatibility fixes + new bindings + refactoring
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 {} } |