Jeremy Soller 7 年之前
父节点
当前提交
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;
 extern crate libc;
 
 

+ 2 - 0
src/lib.rs

@@ -1,3 +1,5 @@
+#![no_std]
+
 extern crate fcntl;
 extern crate fcntl;
 extern crate unistd;
 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;
 extern crate libc;