diff options
| author | Fenrir <[email protected]> | 2016-04-27 19:27:52 -0700 |
|---|---|---|
| committer | Fenrir <[email protected]> | 2016-04-27 19:27:52 -0700 |
| commit | 2bd6509b4f647f0669374dfc0352fcf782da8b41 (patch) | |
| tree | cf31fa14578c1f7f038c21d8251426c2963f996c /src | |
| parent | Whoops, that's zlib, not BSD-3. (diff) | |
| download | ctru-rs-2bd6509b4f647f0669374dfc0352fcf782da8b41.tar.xz ctru-rs-2bd6509b4f647f0669374dfc0352fcf782da8b41.zip | |
Compatibility fixes for Rust nightly (1.10.0)
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; |