浏览代码

Add `pub_restricted` feature.

ticki 8 年之前
父节点
当前提交
2c4356ebf9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      shim/src/lib.rs

+ 1 - 1
shim/src/lib.rs

@@ -7,7 +7,7 @@
 //! You CANNOT use libc library calls, due to no guarantees being made about allocations of the
 //! functions in the POSIX specification. Therefore, we use the system calls directly.
 
-#![feature(linkage, core_intrinsics)]
+#![feature(linkage, core_intrinsics, pub_restricted)]
 #![no_std]
 #![warn(missing_docs)]