Recent dependency on sockets API?
garettbass opened this issue · 2 comments
I tried to upgrade to a more recent version of wgpu_native and discovered a compile time dependency on WSAStartup and other Windows socket APIs. As someone using wgpu_native as a graphics API, I'm hesitant to link with sockets. It would be nice if there were at least a clear public statement of why wgpu_native depends on socket API calls. Thanks in advance for any clarification.
Dupe of #263
Upstream bugs:
These links come from Rust standard library, no idea how we can avoid them currently. wgpu-native
doesn't use any functions from ws2_32
, and possibly even userenv
& bcrypt
.
Anyway here are the libraries that you will need to link, currently.
Thank you for linking to the list of required libraries. I just kept adding libs until the compile errors went away and ended up with the same result.