about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-01-18 07:36:13 +0000
committerbors <bors@rust-lang.org>2019-01-18 07:36:13 +0000
commit38650b69cafbff61d71a275ced1e9866a08a36c0 (patch)
treec927d8494f2da1e5de2ddca5ad2f185f11ecf5c7 /src/libstd
parentdaa53a52a2667533d5fe59bfcc5b8614b79c3d31 (diff)
parent24ca5305263e4cee6d90e740962a94aed7842805 (diff)
downloadrust-38650b69cafbff61d71a275ced1e9866a08a36c0.tar.gz
rust-38650b69cafbff61d71a275ced1e9866a08a36c0.zip
Auto merge of #56996 - clarcharr:spin_loop_hint, r=KodrAus
Move spin_loop_hint to core::hint module

As mentioned in #55002. The new name is kept unstable to decide whether the function should have `_hint` in its name.
Diffstat (limited to 'src/libstd')
-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 41f1ac867ed..83db3f347a7 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -286,6 +286,7 @@
 #![feature(staged_api)]
 #![feature(stmt_expr_attributes)]
 #![feature(str_internals)]
+#![feature(renamed_spin_loop)]
 #![feature(rustc_private)]
 #![feature(thread_local)]
 #![feature(toowned_clone_into)]