aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 992581fe52..b50f89e5c2 100644
--- a/src/main.zig
+++ b/src/main.zig
@@ -2024,7 +2024,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();
}