libfringe/src/lib.rs
edef db6a2ff89b factor Valgrind support out and expose it
Now other Stack / StackSource implementations can use the same Valgrind
code. Ref #3.
2015-04-15 22:25:52 -04:00

28 lines
402 B
Rust

#![feature(no_std)]
#![feature(asm, core)]
#![feature(libc, page_size)]
#![no_std]
#[macro_use]
extern crate core;
#[cfg(test)]
#[macro_use]
extern crate std;
pub use context::Context;
pub use stack::{Stack, StackSource};
#[cfg(not(test))]
mod std { pub use core::*; }
pub mod context;
pub mod stack;
pub mod valgrind;
#[cfg(target_arch = "x86_64")]
mod arch;
#[cfg(feature = "os")]
pub mod os;