2
0
Jeremy Soller 7 жил өмнө
parent
commit
d20e3f69e1
3 өөрчлөгдсөн 8 нэмэгдсэн , 2 устгасан
  1. 3 1
      fcntl/src/lib.rs
  2. 2 0
      src/lib.rs
  3. 3 1
      unistd/src/lib.rs

+ 3 - 1
fcntl/src/lib.rs

@@ -1,4 +1,6 @@
-/// fcntl implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/fcntl.h.html
+//! fcntl implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/fcntl.h.html
+
+#![no_std]
 
 extern crate libc;
 

+ 2 - 0
src/lib.rs

@@ -1,3 +1,5 @@
+#![no_std]
+
 extern crate fcntl;
 extern crate unistd;
 

+ 3 - 1
unistd/src/lib.rs

@@ -1,4 +1,6 @@
-/// unistd implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/unistd.h.html
+//! unistd implementation for Redox, following http://pubs.opengroup.org/onlinepubs/7908799/xsh/unistd.h.html
+
+#![no_std]
 
 extern crate libc;