| ... | @@ -18,7 +18,7 @@ pub const Address = extern union { | ... | @@ -18,7 +18,7 @@ pub const Address = extern union { |
| 18 | in6: os.sockaddr_in6, | 18 | in6: os.sockaddr_in6, |
| 19 | un: if (has_unix_sockets) os.sockaddr_un else void, | 19 | un: if (has_unix_sockets) os.sockaddr_un else void, |
| 20 | | 20 | |
| 21 | // TODO this crashed the compiler | 21 | // TODO this crashed the compiler. https://github.com/ziglang/zig/issues/3512 |
| 22 | //pub const localhost = initIp4(parseIp4("127.0.0.1") catch unreachable, 0); | 22 | //pub const localhost = initIp4(parseIp4("127.0.0.1") catch unreachable, 0); |
| 23 | | 23 | |
| 24 | pub fn parseIp(name: []const u8, port: u16) !Address { | 24 | pub fn parseIp(name: []const u8, port: u16) !Address { |