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.
This commit is contained in:
Andrew Kelley 2025-10-27 08:29:26 -07:00
parent f6c5525c84
commit f9de83c90e

View File

@ -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));