We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 331a77c commit 5a3c484Copy full SHA for 5a3c484
lib/std/net/os/win32.c3
@@ -44,7 +44,7 @@ macro void? start_wsa()
44
}
45
46
47
-fn void close_wsa() @local @finalizer
+fn void close_wsa()
48
{
49
if (mem::compare_exchange(&wsa_init, 1, 0) == 1)
50
lib/std/os/win32/wsa.c3
@@ -1,4 +1,4 @@
1
-module std::os::win32 @if(env::WIN32);
+module std::os::win32 @if(env::WIN32) @link("ws2_32");
2
3
// See https://github.com/wine-mirror/wine/blob/master/include/winsock2.h
4
0 commit comments