Skip to content

Commit 6ea2c71

Browse files
committed
Fix MSRV on Windows
1 parent faeb85f commit 6ea2c71

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/windows/msvc/x86_64.rs renamed to src/windows/msvc/x86_64/align.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ s! {
6363
pub MxCsr_Mask: ::c_ulong,
6464
pub FloatRegisters: [M128A; 8],
6565
pub XmmRegisters: [M128A; 16],
66-
_Reserved4: [::c_uchar; 96],
66+
_Reserved4: [[::c_uchar; 16]; 6],
6767
}
6868

6969
#[repr(align(16))]

src/windows/msvc/x86_64/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cfg_if! {
2+
if #[cfg(libc_align)] {
3+
mod align;
4+
pub use self::align::*;
5+
}
6+
}

0 commit comments

Comments
 (0)