zig std: fix build failures

This commit is contained in:
Andrew Kelley
2025-08-08 17:17:38 -07:00
parent 8c9dfcbd0f
commit 045bb14897
5 changed files with 14 additions and 17 deletions

View File

@@ -84,7 +84,7 @@ pub fn main() !void {
const output_buf = try allocator.alloc(u8, 1024 * 1024);
var fbs = std.io.fixedBufferStream(output_buf);
var adapter = fbs.writer().adaptToNewApi();
var adapter = fbs.writer().adaptToNewApi(&.{});
const w = &adapter.new_interface;
try render(w, core_spec, exts.items);
var output: [:0]u8 = @ptrCast(fbs.getWritten());