| ... | @@ -68,7 +68,10 @@ test "parse and render IPv4 addresses" { | ... | @@ -68,7 +68,10 @@ test "parse and render IPv4 addresses" { |
| 68 | } | 68 | } |
| 69 | | 69 | |
| 70 | test "resolve DNS" { | 70 | test "resolve DNS" { |
| 71 | if (builtin.os.tag == .windows or builtin.os.tag == .wasi) { | 71 | if (std.builtin.os.tag == .windows) { |
| | 72 | _ = try std.os.windows.WSAStartup(2, 2); |
| | 73 | } |
| | 74 | if (builtin.os.tag == .wasi) { |
| 72 | // DNS resolution not implemented on Windows yet. | 75 | // DNS resolution not implemented on Windows yet. |
| 73 | return error.SkipZigTest; | 76 | return error.SkipZigTest; |
| 74 | } | 77 | } |