aboutsummaryrefslogtreecommitdiff
path: root/lib/std/build.zig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/build.zig')
-rw-r--r--lib/std/build.zig3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig
index bc8b8acba0..e8484e9d1c 100644
--- a/lib/std/build.zig
+++ b/lib/std/build.zig
@@ -926,8 +926,7 @@ pub const Builder = struct {
try child.spawn();
- var stdout_file_in_stream = child.stdout.?.inStream();
- const stdout = try stdout_file_in_stream.stream.readAllAlloc(self.allocator, max_output_size);
+ const stdout = try child.stdout.?.inStream().readAllAlloc(self.allocator, max_output_size);
errdefer self.allocator.free(stdout);
const term = try child.wait();