Explorar el Código

Add `pub_restricted` feature.

ticki hace 8 años
padre
commit
2c4356ebf9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)]