From f37a320f4925b2f9385adfa9a972a862a27074fc Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Tue, 10 Dec 2024 14:02:57 -0600 Subject: [PATCH] x86 --- crates/tests/misc/arch/tests/sys.rs | 4 ++-- crates/tests/misc/arch/tests/win.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/tests/misc/arch/tests/sys.rs b/crates/tests/misc/arch/tests/sys.rs index c3ea06fb38..8e0aaaabe3 100644 --- a/crates/tests/misc/arch/tests/sys.rs +++ b/crates/tests/misc/arch/tests/sys.rs @@ -16,6 +16,6 @@ fn test() { assert_eq!(4, core::mem::size_of::()); use windows_sys::Wdk::Foundation::ACCESS_STATE; - assert_eq!(160, core::mem::size_of::()); - assert_eq!(8, core::mem::align_of::()); + assert_eq!(116, core::mem::size_of::()); + assert_eq!(4, core::mem::align_of::()); } diff --git a/crates/tests/misc/arch/tests/win.rs b/crates/tests/misc/arch/tests/win.rs index 51182d2f8f..955a6eb328 100644 --- a/crates/tests/misc/arch/tests/win.rs +++ b/crates/tests/misc/arch/tests/win.rs @@ -16,6 +16,6 @@ fn test() { assert_eq!(4, core::mem::size_of::()); use windows::Wdk::Foundation::ACCESS_STATE; - assert_eq!(160, core::mem::size_of::()); - assert_eq!(8, core::mem::align_of::()); + assert_eq!(116, core::mem::size_of::()); + assert_eq!(4, core::mem::align_of::()); }