]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/io/lazy.rs
SGX target: implement synchronization primitives and threading
[rust.git] / src / libstd / io / lazy.rs
index 24965ff69318435e874eaad52f9dc8a1b58edcc3..c2aaeb98907454c069cfd9a88702e23bd1437a7c 100644 (file)
@@ -26,6 +26,7 @@ const fn done<T>() -> *mut Arc<T> { 1_usize as *mut _ }
 unsafe impl<T> Sync for Lazy<T> {}
 
 impl<T> Lazy<T> {
+    #[unstable(feature = "sys_internals", issue = "0")] // FIXME: min_const_fn
     pub const fn new() -> Lazy<T> {
         Lazy {
             lock: Mutex::new(),