aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-01-09 13:04:08 -0800
committerGitHub <noreply@github.com>2021-01-09 13:04:08 -0800
commit29928af6005997d2b02b4c3a3576a696a02fa269 (patch)
tree9852e606adc5bc065e758482445bb6d1c5ead99c /src
parenta0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb (diff)
parente72472d953f5e91d37bc5f1bf1ec7b6fb5b1afe2 (diff)
downloadzig-29928af6005997d2b02b4c3a3576a696a02fa269.tar.gz
zig-29928af6005997d2b02b4c3a3576a696a02fa269.zip
Merge pull request #7729 from jayschwa/remove-deprecated-stream
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 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();
}