libfringe/src/lib.rs

24 lines
329 B
Rust
Raw Normal View History

2015-02-24 12:13:25 +08:00
#![feature(no_std)]
2015-02-03 03:17:23 +08:00
#![feature(asm, core)]
#![feature(libc, page_size)]
#![no_std]
2015-01-10 05:45:39 +08:00
#[macro_use]
extern crate core;
2014-12-23 11:24:40 +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
#[cfg(not(test))]
mod std { pub use core::*; }
2014-12-24 13:22:49 +08:00
2015-04-16 03:58:56 +08:00
pub mod context;
2015-04-16 03:58:44 +08:00
pub mod stack;
2014-12-24 13:12:39 +08:00
mod arch;
pub mod os;