2015-04-16 18:08:44 +08:00
|
|
|
// Copyright (c) 2015, edef <edef@edef.eu>
|
|
|
|
// See the LICENSE file included in this distribution.
|
2015-02-24 12:13:25 +08:00
|
|
|
#![feature(no_std)]
|
2015-02-03 03:17:23 +08:00
|
|
|
#![feature(asm, core)]
|
2015-04-16 14:04:06 +08:00
|
|
|
#![feature(libc)]
|
2014-12-24 14:28:21 +08:00
|
|
|
#![no_std]
|
|
|
|
|
2015-01-10 05:45:39 +08:00
|
|
|
#[macro_use]
|
2014-12-24 14:28:21 +08:00
|
|
|
extern crate core;
|
2014-12-23 11:24:40 +08:00
|
|
|
|
2015-01-14 18:12:39 +08:00
|
|
|
#[cfg(test)]
|
|
|
|
#[macro_use]
|
|
|
|
extern crate std;
|
|
|
|
|
2014-12-23 11:24:40 +08:00
|
|
|
pub use context::Context;
|
2015-04-16 03:58:44 +08:00
|
|
|
pub use stack::{Stack, StackSource};
|
2014-12-23 11:24:40 +08:00
|
|
|
|
2015-01-14 18:12:39 +08:00
|
|
|
#[cfg(not(test))]
|
2015-01-14 15:31:17 +08:00
|
|
|
mod std { pub use core::*; }
|
2014-12-24 13:22:49 +08:00
|
|
|
|
2015-04-16 19:25:05 +08:00
|
|
|
mod context;
|
|
|
|
mod stack;
|
2015-04-16 14:30:10 +08:00
|
|
|
|
|
|
|
mod debug;
|
2014-12-24 13:12:39 +08:00
|
|
|
|
|
|
|
mod arch;
|
2015-04-16 07:22:41 +08:00
|
|
|
|
|
|
|
#[cfg(feature = "os")]
|
2015-04-16 04:25:09 +08:00
|
|
|
pub mod os;
|