Browse Source

Merge pull request #1 from andor44/master

No need for implicit core imports anymore
pull/10/head
Ronald Kinard 9 years ago
parent
commit
97cf4f4f20
  1. 3
      src/lib.rs
  2. 2
      src/raw/console.rs
  3. 3
      src/raw/mod.rs
  4. 3
      src/raw/services/apt.rs
  5. 3
      src/raw/services/gsp.rs
  6. 3
      src/raw/svc.rs
  7. 2
      src/services/gsp.rs

3
src/lib.rs

@ -1,11 +1,8 @@ @@ -1,11 +1,8 @@
#![feature(core)]
#![feature(no_std)]
#![no_std]
#![crate_type = "rlib"]
#![crate_name = "ctru"]
extern crate core;
pub mod raw;
pub type Result = i32;

2
src/raw/console.rs

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
extern crate core;
use super::c_void;
use super::gfx::*;

3
src/raw/mod.rs

@ -16,9 +16,6 @@ pub mod services; @@ -16,9 +16,6 @@ pub mod services;
pub use self::types::*;
extern crate core;
use core::option::Option;
#[repr(u8)]
pub enum c_void {
__variant1,

3
src/raw/services/apt.rs

@ -1,6 +1,3 @@ @@ -1,6 +1,3 @@
extern crate core;
use core::option::Option;
use ::{Handle, Result};
use ::raw::c_void;

3
src/raw/services/gsp.rs

@ -1,8 +1,5 @@ @@ -1,8 +1,5 @@
use super::super::types::*;
extern crate core;
use core::clone::Clone;
#[inline]
pub fn GSP_REBASE_REG(r: u32) {
((r)-0x1EB00000);

3
src/raw/svc.rs

@ -1,9 +1,6 @@ @@ -1,9 +1,6 @@
use super::*;
use super::super::{Handle, Result};
extern crate core;
use core::clone::Clone;
#[repr(C)]
pub enum MemOp {
MEMOP_FREE = 1,

2
src/services/gsp.rs

@ -1,5 +1,3 @@ @@ -1,5 +1,3 @@
use ::Result;
use ::raw::services::gsp;
pub enum Event {

Loading…
Cancel
Save