From e8b5be5dffef9ef6a15a085e4b06c4a0471f360d Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Sun, 30 Aug 2020 10:35:50 +0800 Subject: Stabilize hint::spin_loop Partially fix #55002, deprecate in another release Co-authored-by: Ashley Mannix Update stable version for stabilize_spin_loop Co-authored-by: Joshua Nelson Use better example for spinlock As suggested by KodrAus Remove renamed_spin_loop already available in master Fix spin loop example --- library/alloc/src/lib.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'library/alloc/src') diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 0fe15958076..ccabc336acc 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -119,7 +119,6 @@ #![feature(raw_ref_op)] #![feature(rustc_attrs)] #![feature(receiver_trait)] -#![feature(renamed_spin_loop)] #![feature(min_specialization)] #![feature(slice_ptr_get)] #![feature(slice_ptr_len)] -- cgit 1.4.1-3-g733a5