Explorar o código

Update lib.rs

Jeremy Soller %!s(int64=8) %!d(string=hai) anos
pai
achega
eb7c2ae0c9
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      shim/src/lib.rs

+ 4 - 4
shim/src/lib.rs

@@ -6,14 +6,14 @@
 #![no_std]
 #![warn(missing_docs)]
 
-#[cfg(redox)]
+#[cfg(target_os = "redox")]
 mod redox;
 
-#[cfg(redox)]
+#[cfg(target_os = "redox")]
 pub use redox::*;
 
-#[cfg(not(redox))]
+#[cfg(not(target_os = "redox"))]
 mod unix;
 
-#[cfg(not(redox))]
+#[cfg(not(target_os = "redox"))]
 pub use unix::*;