authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:52:37 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:52:37 -07:00
log4b326c089069592f075c7ddefc421a1e41094535
treec5adbf6b0b009173fecb9e1a6834b404ea7cd6d3
parent4c6b77b141abab5f6ac70ea712521f062b54df65
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.16.0


2 files changed, 1 insertions(+), 11 deletions(-)

Dir.zig+1-1
...@@ -101,7 +101,7 @@ pub fn statFileC(self: Dir, sub_path: []const u8) !File.Stat {...@@ -101,7 +101,7 @@ pub fn statFileC(self: Dir, sub_path: []const u8) !File.Stat {
101}101}
102102
103pub fn makePath(self: Dir, sub_path: [:0]const u8) !void {103pub fn makePath(self: Dir, sub_path: [:0]const u8) !void {
104 var it = try std.fs.path.componentIterator(sub_path);104 var it = std.fs.path.componentIterator(sub_path);
105 var component = it.last() orelse return;105 var component = it.last() orelse return;
106 var zuffer: [sys.NAME_MAX + 1]u8 = undefined;106 var zuffer: [sys.NAME_MAX + 1]u8 = undefined;
107 while (true) {107 while (true) {
File.zig-10
...@@ -138,16 +138,6 @@ pub const Stat = struct {...@@ -138,16 +138,6 @@ pub const Stat = struct {
138138
139 pub fn fromPosix(st: sys.struct_stat) Stat {139 pub fn fromPosix(st: sys.struct_stat) Stat {
140 if (os == .linux) {140 if (os == .linux) {
141 if (builtin.target.cpu.arch.isMIPS64()) {
142 return .{
143 .inode = st.ino,
144 .size = @bitCast(st.size),
145 .mode = st.mode,
146 .atime = @as(i128, st.atim) * time.ns_per_s + st.atim_nsec,
147 .mtime = @as(i128, st.mtim) * time.ns_per_s + st.mtim_nsec,
148 .ctime = @as(i128, st.ctim) * time.ns_per_s + st.ctim_nsec,
149 };
150 }
151 return .{141 return .{
152 .inode = st.ino,142 .inode = st.ino,
153 .size = @bitCast(st.size),143 .size = @bitCast(st.size),