libfringe/src/lib.rs
2015-04-16 07:45:14 -04:00

32 lines
478 B
Rust

// Copyright (c) 2015, edef <edef@edef.eu>
// See the LICENSE file included in this distribution.
#![feature(no_std)]
#![feature(asm, core)]
#![feature(libc)]
#![no_std]
#[macro_use]
extern crate core;
#[cfg(test)]
#[macro_use]
extern crate std;
pub use context::Context;
pub use stack::Stack;
#[cfg(feature = "os")]
pub use os::Stack as OsStack;
mod context;
mod stack;
#[cfg(feature = "os")]
mod os;
mod arch;
mod debug;
#[cfg(not(test))]
mod std { pub use core::*; }