diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 | ||||
| -rw-r--r-- | src/raw/console.rs | 1 | ||||
| -rw-r--r-- | src/raw/mod.rs | 1 |
3 files changed, 0 insertions, 4 deletions
@@ -1,4 +1,3 @@ -#![feature(no_std)] #![feature(lang_items)] #![no_std] #![crate_type = "rlib"] @@ -19,6 +18,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 {} } diff --git a/src/raw/console.rs b/src/raw/console.rs index 8871c7f..bbf3a30 100644 --- a/src/raw/console.rs +++ b/src/raw/console.rs @@ -10,7 +10,6 @@ pub struct ConsoleFont { pub numChars: u16, } -#[repr(C)] pub type ConsolePrint = extern "C" fn(con: *mut c_void, c: i32) -> u8; #[repr(C)] diff --git a/src/raw/mod.rs b/src/raw/mod.rs index f4947a7..0975001 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -1,7 +1,6 @@ #![allow(non_camel_case_types)] #![allow(non_snake_case)] #![allow(overflowing_literals)] -#![allow(raw_pointer_derive)] pub mod console; pub mod gfx; |