diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-09 13:04:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-09 13:04:08 -0800 |
| commit | 29928af6005997d2b02b4c3a3576a696a02fa269 (patch) | |
| tree | 9852e606adc5bc065e758482445bb6d1c5ead99c /src/main.zig | |
| parent | a0ad2dee6a0b3bb7fd04032f6113206f7b4e73eb (diff) | |
| parent | e72472d953f5e91d37bc5f1bf1ec7b6fb5b1afe2 (diff) | |
| download | zig-29928af6005997d2b02b4c3a3576a696a02fa269.tar.gz zig-29928af6005997d2b02b4c3a3576a696a02fa269.zip | |
Merge pull request #7729 from jayschwa/remove-deprecated-stream
Remove deprecated stream aliases
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
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(); } |
