1
0
Fork 0

feature-flag os, but leave it enabled by default

This commit is contained in:
edef 2015-04-15 19:22:41 -04:00
parent 54b34383e3
commit 6d56cc593e
2 changed files with 6 additions and 0 deletions

View File

@ -6,3 +6,7 @@ build = "build.rs"
[build-dependencies] [build-dependencies]
gcc = "0.3.3" gcc = "0.3.3"
[features]
default = ["os"]
os = []

View File

@ -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;