|
|
|
@ -1,4 +1,4 @@
@@ -1,4 +1,4 @@
|
|
|
|
|
#![feature(lang_items, alloc, collections, slice_concat_ext, macro_reexport, allow_internal_unstable)] |
|
|
|
|
#![feature(lang_items, alloc, collections, macro_reexport, allow_internal_unstable)] |
|
|
|
|
#![no_std] |
|
|
|
|
#![crate_type = "rlib"] |
|
|
|
|
#![crate_name = "ctru"] |
|
|
|
@ -20,40 +20,6 @@ pub use srv::Srv;
@@ -20,40 +20,6 @@ pub use srv::Srv;
|
|
|
|
|
pub use gfx::Gfx; |
|
|
|
|
pub use sdmc::Sdmc; |
|
|
|
|
|
|
|
|
|
pub mod std { |
|
|
|
|
pub use core::{any, cell, char, clone, cmp, convert, default, f32, f64, hash, i16, i32, i64, |
|
|
|
|
i8, isize, iter, marker, mem, num, ops, option, ptr, result, sync, u16, u32, |
|
|
|
|
u64, u8, usize}; |
|
|
|
|
pub use alloc::{arc, rc}; |
|
|
|
|
pub use collections::{borrow, boxed, fmt, slice, str, string, vec}; |
|
|
|
|
|
|
|
|
|
pub mod collections { |
|
|
|
|
pub use collections::{binary_heap, btree_map, btree_set, linked_list, vec_deque, |
|
|
|
|
BinaryHeap, LinkedList, VecDeque, String, Vec, BTreeMap, BTreeSet}; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
pub mod prelude { |
|
|
|
|
pub use std; |
|
|
|
|
pub use std::marker::{Copy, Send, Sized, Sync}; |
|
|
|
|
pub use std::ops::{Drop, Fn, FnMut, FnOnce}; |
|
|
|
|
pub use std::mem::drop; |
|
|
|
|
pub use std::boxed::Box; |
|
|
|
|
pub use std::borrow::ToOwned; |
|
|
|
|
pub use std::clone::Clone; |
|
|
|
|
pub use std::cmp::{PartialEq, PartialOrd, Eq, Ord}; |
|
|
|
|
pub use std::convert::{AsRef, AsMut, Into, From}; |
|
|
|
|
pub use std::default::Default; |
|
|
|
|
pub use std::iter::{Iterator, Extend, IntoIterator}; |
|
|
|
|
pub use std::iter::{DoubleEndedIterator, ExactSizeIterator}; |
|
|
|
|
pub use std::option::Option::{self, Some, None}; |
|
|
|
|
pub use std::result::Result::{self, Ok, Err}; |
|
|
|
|
pub use std::slice::SliceConcatExt; |
|
|
|
|
pub use std::string::{String, ToString}; |
|
|
|
|
pub use std::vec::Vec; |
|
|
|
|
pub use std::fmt::Write; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[lang = "eh_personality"] |
|
|
|
|
extern "C" fn eh_personality() {} |
|
|
|
|
#[lang = "panic_fmt"] |
|
|
|
|