Skip to content

Commit 3fe6576

Browse files
authored
Test MSRV on Windows in CI
1 parent a18be6a commit 3fe6576

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
build: [stable, 1.70.0, beta, nightly, macos, windows]
17+
build: [stable, msrv-linux, msrv-windows, beta, nightly, macos, windows]
1818
include:
1919
- build: stable
2020
os: ubuntu-latest
2121
rust: stable
22-
- build: 1.70.0
22+
- build: msrv-linux
2323
os: ubuntu-latest
2424
rust: 1.70.0
25+
- build: msrv-windows
26+
os: windows-latest
27+
rust: 1.70.0
2528
- build: beta
2629
os: ubuntu-latest
2730
rust: beta

tests/socket.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,9 @@ where
446446
socket.as_raw_socket() as _,
447447
WinSock::SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER,
448448
(&guid as *const GUID) as *const _,
449-
size_of_val(&guid) as u32,
449+
mem::size_of_val(&guid) as u32,
450450
table.as_mut_ptr() as *mut _,
451-
size_of_val(&table) as u32,
451+
mem::size_of_val(&table) as u32,
452452
(&mut bytes as *mut i32) as *mut _,
453453
ptr::null_mut(),
454454
None,

0 commit comments

Comments
 (0)