about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-02 13:45:22 +0000
committerbors <bors@rust-lang.org>2018-12-02 13:45:22 +0000
commit8660eba2b9bec5b0fe971b7281f79e79c2df2fae (patch)
tree86a0f14bde134d8357458c80472b51204d489b5d /src/libstd/lib.rs
parent9abc2312124de7c4275d76e9cbc81d50086c4768 (diff)
parentebe69c06b38e0d1d20c79ee4342715514e917107 (diff)
downloadrust-8660eba2b9bec5b0fe971b7281f79e79c2df2fae.tar.gz
rust-8660eba2b9bec5b0fe971b7281f79e79c2df2fae.zip
Auto merge of #56275 - RalfJung:win-mutex, r=SimonSapin
use MaybeUninit instead of mem::uninitialized for Windows Mutex

I hope this builds, I do not have a Windows machine to test...
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 5945ba6b090..78109a1a690 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -311,6 +311,7 @@
 #![feature(panic_info_message)]
 #![feature(non_exhaustive)]
 #![feature(alloc_layout_extra)]
+#![feature(maybe_uninit)]
 
 #![default_lib_allocator]