diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-08 18:00:55 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:08 -0800 |
| commit | 1dcfc8787e86ed94d216976e621a49fc488e8214 (patch) | |
| tree | d5225fa3a0abee6f6ff8f2793fe1ccea951d20a8 /lib/std/Build/Cache.zig | |
| parent | 4be8be1d2bd6959efae7df95e3f5713adf953a42 (diff) | |
| download | zig-1dcfc8787e86ed94d216976e621a49fc488e8214.tar.gz zig-1dcfc8787e86ed94d216976e621a49fc488e8214.zip | |
update all readFileAlloc() to accept Io instance
Diffstat (limited to 'lib/std/Build/Cache.zig')
| -rw-r--r-- | lib/std/Build/Cache.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/Build/Cache.zig b/lib/std/Build/Cache.zig index 2d6dbc02fa..d2ba33c74d 100644 --- a/lib/std/Build/Cache.zig +++ b/lib/std/Build/Cache.zig @@ -1075,7 +1075,8 @@ pub const Manifest = struct { fn addDepFileMaybePost(self: *Manifest, dir: Io.Dir, dep_file_sub_path: []const u8) !void { const gpa = self.cache.gpa; - const dep_file_contents = try dir.readFileAlloc(dep_file_sub_path, gpa, .limited(manifest_file_size_max)); + const io = self.cache.io; + const dep_file_contents = try dir.readFileAlloc(io, dep_file_sub_path, gpa, .limited(manifest_file_size_max)); defer gpa.free(dep_file_contents); var error_buf: std.ArrayList(u8) = .empty; |
