mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
enable dns test on windows
This commit is contained in:
parent
58fb5b29b6
commit
0d32f4acf7
@ -68,7 +68,10 @@ test "parse and render IPv4 addresses" {
|
||||
}
|
||||
|
||||
test "resolve DNS" {
|
||||
if (builtin.os.tag == .windows or builtin.os.tag == .wasi) {
|
||||
if (std.builtin.os.tag == .windows) {
|
||||
_ = try std.os.windows.WSAStartup(2, 2);
|
||||
}
|
||||
if (builtin.os.tag == .wasi) {
|
||||
// DNS resolution not implemented on Windows yet.
|
||||
return error.SkipZigTest;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user