Commit c8a8da2804
Changed files (1)
lib
std
lib/std/net.zig
@@ -218,11 +218,6 @@ pub const Address = extern union {
}
pub fn initUnix(path: []const u8) !Address {
- switch (builtin.os) {
- .linux, .macosx, .freebsd, .netbsd => {},
- else => return error.UnsupportedOS,
- }
-
var sock_addr = os.sockaddr_un{
.family = os.AF_UNIX,
.path = undefined,