Remove usages of deprecatedWriter

This commit is contained in:
andrewkraevskii
2025-09-12 21:25:48 +03:00
committed by Andrew Kelley
parent 37ecaae639
commit de489031d8
6 changed files with 59 additions and 12 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ pub fn main() !void {
const arg = args[i];
if (mem.startsWith(u8, arg, "-")) {
if (mem.eql(u8, arg, "-h") or mem.eql(u8, arg, "--help")) {
const stdout = std.fs.File.stdout().deprecatedWriter();
const stdout = std.fs.File.stdout();
try stdout.writeAll(usage);
return std.process.cleanExit();
} else if (mem.eql(u8, arg, "--")) {