From 4b326c089069592f075c7ddefc421a1e41094535 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Wed, 3 Jun 2026 21:52:37 -0700 Subject: [PATCH] update to zig 0.16.0 --- Dir.zig | 2 +- File.zig | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/Dir.zig b/Dir.zig index 07544faac4fc4c137e70837b0002735f7d7e29fd..c5e3872326c43384edaea350acbda595cbdcaadb 100644 --- a/Dir.zig +++ b/Dir.zig @@ -101,7 +101,7 @@ pub fn statFileC(self: Dir, sub_path: []const u8) !File.Stat { } pub fn makePath(self: Dir, sub_path: [:0]const u8) !void { - var it = try std.fs.path.componentIterator(sub_path); + var it = std.fs.path.componentIterator(sub_path); var component = it.last() orelse return; var zuffer: [sys.NAME_MAX + 1]u8 = undefined; while (true) { diff --git a/File.zig b/File.zig index 836954cfa6ca70f5f8bfb7b3fa46dfd3820d425b..74c3566249fcb44babf9df893d1973601a67a138 100644 --- a/File.zig +++ b/File.zig @@ -138,16 +138,6 @@ pub const Stat = struct { pub fn fromPosix(st: sys.struct_stat) Stat { if (os == .linux) { - if (builtin.target.cpu.arch.isMIPS64()) { - return .{ - .inode = st.ino, - .size = @bitCast(st.size), - .mode = st.mode, - .atime = @as(i128, st.atim) * time.ns_per_s + st.atim_nsec, - .mtime = @as(i128, st.mtim) * time.ns_per_s + st.mtim_nsec, - .ctime = @as(i128, st.ctim) * time.ns_per_s + st.ctim_nsec, - }; - } return .{ .inode = st.ino, .size = @bitCast(st.size), -- 2.54.0