upgrade to zig 0.12

This commit is contained in:
Pierre Tachoire
2024-03-29 15:09:02 +01:00
parent c555c325e9
commit f5a2c8d303
8 changed files with 896 additions and 670 deletions

View File

@@ -31,7 +31,7 @@ pub const Stream = struct {
handle: posix.socket_t,
pub fn close(self: Stream) void {
posix.closeSocket(self.handle);
posix.close(self.handle);
self.alloc.destroy(self.conn);
}