You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building socket2 for ARM64EC on Windows is failing at the moment:
Compiling windows_x86_64_msvc v0.52.6
Compiling windows-targets v0.52.6
Compiling windows-sys v0.52.0
error[E0412]: cannot find type`WSADATA`in this scope
--> C:\Users\toraies\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-sys-0.52.0\src\Windows\Win32\Networking\WinSock\mod.rs:198:104
|
198 | ::windows_targets::link!("ws2_32.dll""system" fn WSAStartup(wversionrequested : u16, lpwsadata :*mut WSADATA) -> i32);| ^^^^^^^ help: a struct with a similar name exists: `WSPDATA`
...
6380 | pub struct WSPDATA {
| ------------------ similarly named struct `WSPDATA` defined here
error[E0412]: cannot find type`SERVENT`in this scope
--> C:\Users\toraies\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-sys-0.52.0\src\Windows\Win32\Networking\WinSock\mod.rs:272:144
|
272 | ::windows_targets::link!("ws2_32.dll""system" fn getservbyname(name : ::windows_sys::core::PCSTR, proto : ::windows_sys::core::PCSTR) ->*mut SERVENT);| ^^^^^^^ not found in this scope
error[E0412]: cannot find type`SERVENT`in this scope
--> C:\Users\toraies\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-sys-0.52.0\src\Windows\Win32\Networking\WinSock\mod.rs:273:121
|
273 | ::windows_targets::link!("ws2_32.dll""system" fn getservbyport(port : i32, proto : ::windows_sys::core::PCSTR) ->*mut SERVENT);| ^^^^^^^ not found in this scope
error[E0412]: cannot find type`DELAYLOAD_INFO`in this scope
--> C:\Users\toraies\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows-sys-0.52.0\src\Windows\Win32\System\WindowsProgramming\mod.rs:2182:140
|
2182 | pub type PDELAYLOAD_FAILURE_DLL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(notificationreason: u32, delayloadinfo: *const DELAYLOAD_INFO) ->*mut ::core::ffi::c_void>;| ^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
2182 | pub type PDELAYLOAD_FAILURE_DLL_CALLBACK<DELAYLOAD_INFO> = ::core::option::Option<unsafe extern "system" fn(notificationreason: u32, delayloadinfo: *const DELAYLOAD_INFO) ->*mut ::core::ffi::c_void>;| ++++++++++++++++
For more information about this error, try `rustc --explain E0412`.
error: could not compile `windows-sys` (lib) due to 4 previous errors
Bumping the windows-sys dependency from 0.52 to 0.59 seems to resolve the issue. I'll create a PR with this change.
The text was updated successfully, but these errors were encountered:
Hi,
Building
socket2
for ARM64EC on Windows is failing at the moment:Bumping the
windows-sys
dependency from0.52
to0.59
seems to resolve the issue. I'll create a PR with this change.The text was updated successfully, but these errors were encountered: