summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-05-07 22:19:49 -0700
committerCarl Lerche <me@carllerche.com>2015-05-07 22:19:49 -0700
commitd01c032b1c1fd5bf8cd26275ffece653af30426f (patch)
tree4a537ef54c5b71750fe08f0c3bf54385d0d5b77d
parent07916d4dd031588a3329c2bf0a085cc04425089a (diff)
downloadnix-d01c032b1c1fd5bf8cd26275ffece653af30426f.zip
Scope to unix platforms
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c3807876..ccf9745b 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,6 +3,7 @@
//! Modules are structured according to the C header file that they would be
//! defined in.
#![crate_name = "nix"]
+#![cfg(unix)]
#![allow(non_camel_case_types)]
#![deny(warnings)]