We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f191c4 + 6b052d0 commit 6f7f55bCopy full SHA for 6f7f55b
examples/thread_test/src/main.rs
@@ -26,7 +26,7 @@ thread_local! {
26
27
// A custom type with 128-byte alignment.
28
#[derive(Clone, Copy)]
29
-#[repr(align(128))]
+#[repr(align(0x1000))]
30
struct AlignedType(u8);
31
thread_local! {
32
static TLS_ALIGNED: Cell<AlignedType> = const { Cell::new(AlignedType(0x42)) };
0 commit comments