| ... | ... | @@ -210,8 +210,8 @@ pub const ChildProcess = struct { |
| 210 | 210 | |
| 211 | 211 | try child.spawn(); |
| 212 | 212 | |
| 213 | | const stdout_in = child.stdout.?.inStream(); |
| 214 | | const stderr_in = child.stderr.?.inStream(); |
| 213 | const stdout_in = child.stdout.?.reader(); |
| 214 | const stderr_in = child.stderr.?.reader(); |
| 215 | 215 | |
| 216 | 216 | // TODO https://github.com/ziglang/zig/issues/6343 |
| 217 | 217 | const stdout = try stdout_in.readAllAlloc(args.allocator, args.max_output_bytes); |
| ... | ... | @@ -843,7 +843,7 @@ fn readIntFd(fd: i32) !ErrInt { |
| 843 | 843 | .capable_io_mode = .blocking, |
| 844 | 844 | .intended_io_mode = .blocking, |
| 845 | 845 | }; |
| 846 | | return @intCast(ErrInt, file.inStream().readIntNative(u64) catch return error.SystemResources); |
| 846 | return @intCast(ErrInt, file.reader().readIntNative(u64) catch return error.SystemResources); |
| 847 | 847 | } |
| 848 | 848 | |
| 849 | 849 | /// Caller must free result. |