Parcourir la source

Add `pub_restricted` feature.

ticki il y a 8 ans
Parent
commit
2c4356ebf9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)]