We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 389a60b commit 044d666Copy full SHA for 044d666
crossbeam-utils/src/cache_padded.rs
@@ -69,7 +69,10 @@ use core::ops::{Deref, DerefMut};
69
// - https://www.mono-project.com/news/2016/09/12/arm64-icache/
70
//
71
#[cfg_attr(any(target_arch = "x86_64", target_arch = "aarch64"), repr(align(128)))]
72
-#[cfg_attr(not(any(target_arch = "x86_64", target_arch = "aarch64")), repr(align(64)))]
+#[cfg_attr(
73
+ not(any(target_arch = "x86_64", target_arch = "aarch64")),
74
+ repr(align(64))
75
+)]
76
pub struct CachePadded<T> {
77
value: T,
78
}
0 commit comments