diff options
| author | Ronald Kinard <[email protected]> | 2015-09-17 02:20:36 -0500 |
|---|---|---|
| committer | Ronald Kinard <[email protected]> | 2015-09-17 02:20:36 -0500 |
| commit | 581d24ca2594ccc1d8aa1cf0804f9abb999689fb (patch) | |
| tree | 4069c53c9e5dd3d31a021ef8bf2b11489b813fd4 /src/lib.rs | |
| parent | Merge pull request #1 from andor44/master (diff) | |
| download | ctru-rs-581d24ca2594ccc1d8aa1cf0804f9abb999689fb.tar.xz ctru-rs-581d24ca2594ccc1d8aa1cf0804f9abb999689fb.zip | |
Cleanup and lang items.
Lang items may be removed if we get a libstd.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,4 +1,5 @@ #![feature(no_std)] +#![feature(lang_items)] #![no_std] #![crate_type = "rlib"] #![crate_name = "ctru"] @@ -11,3 +12,7 @@ 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 {} } |