From 4f717ed9ebea0abf9fc16013b0775faf3835efa4 Mon Sep 17 00:00:00 2001 From: Hanna Kruppe Date: Fri, 19 Dec 2025 12:25:24 +0100 Subject: [PATCH 1/2] fix MSRV in windows specific tests --- tests/socket.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/socket.rs b/tests/socket.rs index 133fab27..ec79ece4 100644 --- a/tests/socket.rs +++ b/tests/socket.rs @@ -446,9 +446,9 @@ where socket.as_raw_socket() as _, WinSock::SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER, (&guid as *const GUID) as *const _, - size_of_val(&guid) as u32, + mem::size_of_val(&guid) as u32, table.as_mut_ptr() as *mut _, - size_of_val(&table) as u32, + mem::size_of_val(&table) as u32, (&mut bytes as *mut i32) as *mut _, ptr::null_mut(), None, From 183ef096ba8294937c1fb8afdbe47869fa845192 Mon Sep 17 00:00:00 2001 From: Hanna Kruppe Date: Fri, 19 Dec 2025 12:18:52 +0100 Subject: [PATCH 2/2] test MSRV on windows, too --- .github/workflows/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 66589729..2ad6e4e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,14 +14,17 @@ jobs: strategy: fail-fast: false matrix: - build: [stable, 1.70.0, beta, nightly, macos, windows] + build: [stable, msrv-linux, msrv-windows, beta, nightly, macos, windows] include: - build: stable os: ubuntu-latest rust: stable - - build: 1.70.0 + - build: msrv-linux os: ubuntu-latest rust: 1.70.0 + - build: msrv-windows + os: windows-latest + rust: 1.70.0 - build: beta os: ubuntu-latest rust: beta