summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorXavier L'Heureux <dev.xlheureux@gmail.com>2020-05-07 01:13:26 -0400
committerXavier L'Heureux <dev.xlheureux@gmail.com>2020-05-17 21:06:22 -0400
commitbedbb8dcec04cb0ff32982473702a9b2df4ad508 (patch)
tree0c41a73498265f4a2dd7a161b14d93e2c1c313b7 /src/lib.rs
parent106927af9eda1c7b683dfc5b0610e5937494b0dd (diff)
downloadnix-bedbb8dcec04cb0ff32982473702a9b2df4ad508.zip
Simply disable the dir module, since only the entry struct is available
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index c4019ca9..5e2db4f7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -28,6 +28,7 @@ pub extern crate libc;
#[macro_use] mod macros;
// Public crates
+#[cfg(not(target_os = "redox"))]
pub mod dir;
pub mod env;
pub mod errno;