forked from M-Labs/libfringe
feature-flag os, but leave it enabled by default
This commit is contained in:
parent
54b34383e3
commit
6d56cc593e
|
@ -6,3 +6,7 @@ build = "build.rs"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
gcc = "0.3.3"
|
gcc = "0.3.3"
|
||||||
|
|
||||||
|
[features]
|
||||||
|
default = ["os"]
|
||||||
|
os = []
|
||||||
|
|
|
@ -20,4 +20,6 @@ pub mod context;
|
||||||
pub mod stack;
|
pub mod stack;
|
||||||
|
|
||||||
mod arch;
|
mod arch;
|
||||||
|
|
||||||
|
#[cfg(feature = "os")]
|
||||||
pub mod os;
|
pub mod os;
|
||||||
|
|
Loading…
Reference in New Issue