hey, im working on updating a lib to 0.15.1 and the new writers may have confused me a tiny bit
const std = @import("std");
const builtin = @import("builtin");
pub fn main() !void {
const stdout = std.fs.File.stdout();
var wbuf: [4096]u8 = undefined;
var stdout_w = stdout.writer(&wbuf);
var w = &stdout_w.interface;
try w.print("Hello!\n", .{});
}
as far as i understand, this should (or at least did at some point in older zig) print to stdout, however now it doesn't print anything. any ideas?