From 38e429d3126c3eafa30694f0475c4bcaac77aad3 Mon Sep 17 00:00:00 2001 From: newpavlov Date: Fri, 5 Jul 2019 16:13:46 +0300 Subject: [PATCH] fix redox --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 0f800cea0ae16..a1032f0dda949 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -114,7 +114,7 @@ cfg_if! { mod switch; pub use switch::*; - } else if #[cfg(unix)] { + } else if #[cfg(any(unix, target_os="redox"))] { mod fixed_width_ints; pub use fixed_width_ints::*;