From 521c81ab1c4df23c0b911598e9bc57a098f44c37 Mon Sep 17 00:00:00 2001 From: Chris Denton Date: Fri, 5 Jul 2024 14:48:39 +0000 Subject: [PATCH] Run alloc sync tests --- alloc/src/sync.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/alloc/src/sync.rs b/alloc/src/sync.rs index 90672164cb932..1983ea8281aa0 100644 --- a/alloc/src/sync.rs +++ b/alloc/src/sync.rs @@ -197,11 +197,7 @@ macro_rules! acquire { /// /// Sharing some immutable data between threads: /// -// Note that we **do not** run these tests here. The windows builders get super -// unhappy if a thread outlives the main thread and then exits at the same time -// (something deadlocks) so we just avoid this entirely by not running these -// tests. -/// ```no_run +/// ``` /// use std::sync::Arc; /// use std::thread; /// @@ -220,7 +216,7 @@ macro_rules! acquire { /// /// [`AtomicUsize`]: core::sync::atomic::AtomicUsize "sync::atomic::AtomicUsize" /// -/// ```no_run +/// ``` /// use std::sync::Arc; /// use std::sync::atomic::{AtomicUsize, Ordering}; /// use std::thread;