2016-10-31 17:49:00 +01:00
|
|
|
#![no_std]
|
|
|
|
#![allow(non_camel_case_types)]
|
|
|
|
#![feature(asm)]
|
2016-11-15 16:21:04 +01:00
|
|
|
#![feature(const_fn)]
|
2016-10-31 17:49:00 +01:00
|
|
|
#![feature(naked_functions)]
|
2016-11-15 16:21:04 +01:00
|
|
|
#![feature(thread_local)]
|
2016-10-31 17:49:00 +01:00
|
|
|
|
2016-11-11 03:59:59 +01:00
|
|
|
#![cfg_attr(stdbuild, feature(no_std, core, core_slice_ext, staged_api, custom_attribute, cfg_target_vendor))]
|
|
|
|
#![cfg_attr(stdbuild, no_std)]
|
|
|
|
#![cfg_attr(stdbuild, staged_api)]
|
|
|
|
#![cfg_attr(stdbuild, allow(warnings))]
|
|
|
|
#![cfg_attr(stdbuild, unstable(feature = "libc",
|
|
|
|
reason = "use `libc` from crates.io",
|
|
|
|
issue = "27783"))]
|
|
|
|
|
2016-10-31 17:49:00 +01:00
|
|
|
pub use types::*;
|
|
|
|
pub use funcs::*;
|
|
|
|
pub use start::*;
|
|
|
|
pub use syscall::*;
|
|
|
|
|
|
|
|
/// Basic types (not usually system specific)
|
|
|
|
mod types;
|
|
|
|
/// Basic functions (not system specific)
|
|
|
|
mod funcs;
|
|
|
|
/// Start function and call in to libstd
|
|
|
|
mod start;
|
|
|
|
/// Conversion for syscall library (specific to Redox)
|
|
|
|
mod syscall;
|