forked from M-Labs/libfringe
rejig lib.rs a little
This commit is contained in:
parent
fe490275fa
commit
2266da2f8d
14
src/lib.rs
14
src/lib.rs
|
@ -14,18 +14,18 @@ extern crate std;
|
|||
|
||||
pub use context::Context;
|
||||
pub use stack::Stack;
|
||||
|
||||
#[cfg(feature = "os")]
|
||||
pub use os::Stack as OsStack;
|
||||
|
||||
#[cfg(not(test))]
|
||||
mod std { pub use core::*; }
|
||||
|
||||
mod context;
|
||||
mod stack;
|
||||
|
||||
mod debug;
|
||||
|
||||
mod arch;
|
||||
|
||||
#[cfg(feature = "os")]
|
||||
mod os;
|
||||
|
||||
mod arch;
|
||||
mod debug;
|
||||
|
||||
#[cfg(not(test))]
|
||||
mod std { pub use core::*; }
|
||||
|
|
Loading…
Reference in New Issue