| author | |
| committer | |
| log | 1e074879046354db1b556fc9eda51bc8dac5c6b7 |
| tree | fc4aace5bf1ceb6e220348a500792c5d059df5f7 |
| parent | ce5035c07d2f8cab44639262f11a032fb52459b1 |
The event loop constant was missing.1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/net.zig+1| ... | ... | @@ -615,6 +615,7 @@ pub fn connectUnixSocket(path: []const u8) !fs.File { |
| 615 | 615 | var addr = try std.net.Address.initUnix(path); |
| 616 | 616 | |
| 617 | 617 | if (std.io.is_async) { |
| 618 | const loop = std.event.Loop.instance orelse return error.WouldBlock; | |
| 618 | 619 | try loop.connect(sockfd, &addr.any, addr.getOsSockLen()); |
| 619 | 620 | } else { |
| 620 | 621 | try os.connect(sockfd, &addr.any, addr.getOsSockLen()); |