| author | |
| committer | |
| log | 08a9ab4d8c7f1baeb6169088284c06fb2b9707ce |
| tree | 980667d5a37c6eba7c445963afb6caa2f893ea84 |
| parent | 0dbf8aaab83d7387568d6387c6cbd263e04c7397 |
4 files changed, 4 insertions(+), 6 deletions(-)
lib/std/hash/benchmark.zig+1-3| ... | ... | @@ -172,9 +172,7 @@ fn mode(comptime x: comptime_int) comptime_int { |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | pub fn main() !void { |
| 175 | var stdout_file = std.io.getStdOut(); | |
| 176 | var stdout_out_stream = stdout_file.outStream(); | |
| 177 | const stdout = &stdout_out_stream.stream; | |
| 175 | const stdout = std.io.getStdOut().outStream(); | |
| 178 | 176 | |
| 179 | 177 | var buffer: [1024]u8 = undefined; |
| 180 | 178 | var fixed = std.heap.FixedBufferAllocator.init(buffer[0..]); |
lib/std/unicode/throughput_test.zig+1-1| ... | ... | @@ -2,7 +2,7 @@ const builtin = @import("builtin"); |
| 2 | 2 | const std = @import("std"); |
| 3 | 3 | |
| 4 | 4 | pub fn main() !void { |
| 5 | const stdout = &std.io.getStdOut().outStream().stream; | |
| 5 | const stdout = std.io.getStdOut().outStream(); | |
| 6 | 6 | |
| 7 | 7 | const args = try std.process.argsAlloc(std.heap.page_allocator); |
| 8 | 8 |
lib/std/zig/perf_test.zig+1-1| ... | ... | @@ -24,7 +24,7 @@ pub fn main() !void { |
| 24 | 24 | const mb_per_sec = bytes_per_sec / (1024 * 1024); |
| 25 | 25 | |
| 26 | 26 | var stdout_file = std.io.getStdOut(); |
| 27 | const stdout = &stdout_file.outStream().stream; | |
| 27 | const stdout = stdout_file.outStream(); | |
| 28 | 28 | try stdout.print("{:.3} MiB/s, {} KiB used \n", .{ mb_per_sec, memory_used / 1024 }); |
| 29 | 29 | } |
| 30 | 30 |
tools/merge_anal_dumps.zig+1-1| ... | ... | @@ -23,7 +23,7 @@ pub fn main() anyerror!void { |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | const stdout = try std.io.getStdOut(); |
| 26 | try dump.render(&stdout.outStream().stream); | |
| 26 | try dump.render(stdout.outStream()); | |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /// AST source node |