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]
|
||||
gcc = "0.3.3"
|
||||
|
||||
[features]
|
||||
default = ["os"]
|
||||
os = []
|
||||
|
|
|
@ -20,4 +20,6 @@ pub mod context;
|
|||
pub mod stack;
|
||||
|
||||
mod arch;
|
||||
|
||||
#[cfg(feature = "os")]
|
||||
pub mod os;
|
||||
|
|
Loading…
Reference in New Issue