Skip to content

Commit cc80bff

Browse files
committed
Fix max_align_t size and align
1 parent b731f7e commit cc80bff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/linux_like/emscripten/align.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ macro_rules! expand_align {
3838
}
3939

4040
#[allow(missing_debug_implementations)]
41-
#[repr(align(8))]
41+
#[repr(align(16))]
4242
pub struct max_align_t {
43-
priv_: [f64; 2]
43+
priv_: [f64; 4]
4444
}
4545

4646
}

0 commit comments

Comments
 (0)