mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-05 17:53:30 +02:00
I/O improvements
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user