Skip to content

Commit

Permalink
feature-flag os, but leave it enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
edef1c committed Apr 16, 2015
1 parent 6c5ceec commit 0fc8815
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ build = "build.rs"

[build-dependencies]
gcc = "0.3.3"

[features]
default = ["os"]
os = []
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ pub mod context;
pub mod stack;

mod arch;

#[cfg(feature = "os")]
pub mod os;

0 comments on commit 0fc8815

Please sign in to comment.