Skip to content

Commit

Permalink
enable sync future for CachePadded
Browse files Browse the repository at this point in the history
  • Loading branch information
wathenjiang committed Jul 30, 2023
1 parent 91c0108 commit 43fdb21
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/src/util/cacheline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ use std::ops::{Deref, DerefMut};
)),
repr(align(64))
)]
#[cfg(feature = "sync")]
pub(crate) struct CachePadded<T> {
value: T,
}
Expand Down

0 comments on commit 43fdb21

Please sign in to comment.