Skip to content

Commit afe445f

Browse files
committed
Fix stdout access for Zig 0.16.0 (std.io removed)
1 parent a22af36 commit afe445f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub fn main() !void {
150150

151151
const css = try tailwind.compile(gpa, &candidates, null, false, true, null, null, null);
152152

153-
const stdout = std.io.getStdOut().writer();
153+
const stdout = std.fs.File.stdout().writer();
154154
try stdout.print("Generated CSS ({d} bytes, {d} candidates):\n\n", .{ css.len, candidates.len });
155155
try stdout.print("{s}\n", .{css});
156156
}

0 commit comments

Comments
 (0)