commit f9de83c90ee7bcc13e78f0998ae1a9a46bbeb67e (tree) parent f6c5525c8476a1a11c7ebbcdca764010eb10f9a6 Author: Andrew Kelley <andrew@ziglang.org> Date: Mon, 27 Oct 2025 08:29:26 -0700 std.Io.net: skip testing netInterfaceNameResolve on Windows let's handle this in a follow-up change. implementation needs to use ConvertInterfaceNameToLuidW and the additional dependency on Iphlpapi.dll poses some challenges. Diffstat:
| M | lib/std/Io/net/test.zig | | | 6 | ++---- |
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/std/Io/net/test.zig b/lib/std/Io/net/test.zig @@ -86,10 +86,8 @@ test "IPv6 address parse failures" { test "invalid but parseable IPv6 scope ids" { const io = testing.io; - if (builtin.os.tag != .linux and comptime !builtin.os.tag.isDarwin() and builtin.os.tag != .windows) { - // Currently, resolveIp6 with alphanumerical scope IDs only works on Linux. - // TODO Make this test pass on other operating systems. - return error.SkipZigTest; + if (builtin.os.tag != .linux and comptime !builtin.os.tag.isDarwin()) { + return error.SkipZigTest; // TODO } try testing.expectError(error.InterfaceNotFound, net.IpAddress.resolveIp6(io, "ff01::fb%123s45678901234", 0));