chore: upgrade zig to 0.13.0 (#9965)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: Grigory <grigory.orlov.set@gmail.com>
Co-authored-by: Dylan Conway <35280289+dylan-conway@users.noreply.github.com>
Co-authored-by: Meghan Denny <hello@nektro.net>
Co-authored-by: Kenta Iwasaki <63115601+lithdew@users.noreply.github.com>
Co-authored-by: John-David Dalton <john.david.dalton@gmail.com>
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
Co-authored-by: Zack Radisic <56137411+zackradisic@users.noreply.github.com>
Co-authored-by: paperdave <paperdave@users.noreply.github.com>
Co-authored-by: Georgijs Vilums <georgijs.vilums@gmail.com>
Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
This commit is contained in:
dave caruso
2024-06-20 13:48:39 -07:00
committed by GitHub
parent e58cf69f94
commit b76376f8a6
179 changed files with 3993 additions and 3929 deletions

View File

@@ -286,8 +286,8 @@ pub const MutableString = struct {
return std.mem.eql(u8, self.list.items, other);
}
pub fn toSocketBuffers(self: *MutableString, comptime count: usize, ranges: anytype) [count]std.os.iovec_const {
var buffers: [count]std.os.iovec_const = undefined;
pub fn toSocketBuffers(self: *MutableString, comptime count: usize, ranges: anytype) [count]std.posix.iovec_const {
var buffers: [count]std.posix.iovec_const = undefined;
inline for (&buffers, ranges) |*b, r| {
b.* = .{
.iov_base = self.list.items[r[0]..r[1]].ptr,