aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJay Petacat <jay@jayschwa.net>2021-01-08 15:36:02 -0500
committerJay Petacat <jay@jayschwa.net>2021-01-08 16:54:56 -0500
commit1595ce273edb32493231a43216a15cfbeb9ffc12 (patch)
tree8bc5d3dd3e0c9e7066c61f235bfba98cb78e6589 /src
parent2b3b355a23bea47aacbdfd56b853abc83e2f3ed6 (diff)
downloadzig-1595ce273edb32493231a43216a15cfbeb9ffc12.tar.gz
zig-1595ce273edb32493231a43216a15cfbeb9ffc12.zip
Remove deprecated stream aliases
Diffstat (limited to 'src')
-rw-r--r--src/main.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig
index 7829901acc..89150f214a 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -2015,7 +2015,7 @@ fn updateModule(gpa: *Allocator, comp: *Compilation, zir_out_path: ?[]const u8,
const baf = try io.BufferedAtomicFile.create(gpa, fs.cwd(), zop, .{});
defer baf.destroy();
- try new_zir_module.writeToStream(gpa, baf.stream());
+ try new_zir_module.writeToStream(gpa, baf.writer());
try baf.finish();
}