Skip to content

Commit

Permalink
Run alloc sync tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisDenton committed Jul 5, 2024
1 parent 625bcc4 commit 521c81a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions alloc/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
///
Expand All @@ -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;
Expand Down

0 comments on commit 521c81a

Please sign in to comment.