From f9de83c90ee7bcc13e78f0998ae1a9a46bbeb67e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 27 Oct 2025 08:29:26 -0700 Subject: [PATCH] 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. --- 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 index 65f857ea46..60ca66349f 100644 --- 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));