forked from M-Labs/libfringe
move OS specifics into sys
This commit is contained in:
parent
2c3a203f57
commit
52c0c92cd8
|
@ -26,3 +26,5 @@ mod arch;
|
||||||
|
|
||||||
#[cfg(feature = "os")]
|
#[cfg(feature = "os")]
|
||||||
pub mod os;
|
pub mod os;
|
||||||
|
#[cfg(feature = "os")]
|
||||||
|
mod sys;
|
||||||
|
|
|
@ -2,9 +2,7 @@ extern crate std;
|
||||||
use core::prelude::*;
|
use core::prelude::*;
|
||||||
use self::std::io::Error as IoError;
|
use self::std::io::Error as IoError;
|
||||||
use stack;
|
use stack;
|
||||||
|
use sys;
|
||||||
#[cfg(unix)]
|
|
||||||
#[path = "os/unix.rs"] mod sys;
|
|
||||||
|
|
||||||
pub struct StackSource;
|
pub struct StackSource;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
pub use self::imp::*;
|
||||||
|
|
||||||
|
#[cfg(unix)]
|
||||||
|
#[path = "unix.rs"]
|
||||||
|
mod imp;
|
Loading…
Reference in New Issue