Skip to content

Commit 6d56cc5

Browse files
committed
feature-flag os, but leave it enabled by default
1 parent 54b3438 commit 6d56cc5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ build = "build.rs"
66

77
[build-dependencies]
88
gcc = "0.3.3"
9+
10+
[features]
11+
default = ["os"]
12+
os = []

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ pub mod context;
2020
pub mod stack;
2121

2222
mod arch;
23+
24+
#[cfg(feature = "os")]
2325
pub mod os;

0 commit comments

Comments
 (0)