I/O improvements

This commit is contained in:
Chris Boesch
2026-01-09 22:56:23 +01:00
parent 6972af2178
commit 1e552a1dd6
8 changed files with 26 additions and 28 deletions

View File

@@ -21,9 +21,10 @@
// performance. We'll learn about buffered I/O in a later exercise.
const std = @import("std");
const io = std.Options.debug_io;
pub fn main() !void {
pub fn main(init: std.process.Init) !void {
const io = init.io;
// Get the current working directory
const cwd = std.Io.Dir.cwd();