commit | dcbe96b18faa39a07d2ad372872cf1ff5a6a165a | [log] [tgz] |
---|---|---|
author | Jeremy Soller <jackpot51@gmail.com> | Tue Nov 08 14:05:56 2016 -0700 |
committer | GitHub <noreply@github.com> | Tue Nov 08 14:05:56 2016 -0700 |
tree | 5cb23b206905bfdf2153bbccd6ae7003c2b2f7e7 | |
parent | fe0eb1175d38aa52ac3b36e9914d5217ddb0c305 [diff] [blame] |
Use target_os instead of cfg(redox)
diff --git a/src/lib.rs b/src/lib.rs index 2a16fad..45bf49a 100644 --- a/src/lib.rs +++ b/src/lib.rs
@@ -265,7 +265,7 @@ if #[cfg(windows)] { mod windows; pub use windows::*; - } else if #[cfg(redox)] { + } else if #[cfg(target_os = "redox")] { mod redox; pub use redox::*; } else if #[cfg(unix)] {