authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-07-18 11:15:12-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-07-18 17:38:56-07:00
log3df144e0d4ada4ef624a827fc9335f01d9be30a3
tree9148f8f428fda3ef282f58bdd03b27dce7f10fd5
parente40f5b32d34daa289a1d25ba03d4e2c9b98caa85

frontend: align those stdio buffers


1 files changed, 2 insertions(+), 2 deletions(-)

src/main.zig+2-2
...@@ -66,9 +66,9 @@ pub fn wasi_cwd() std.os.wasi.fd_t {...@@ -66,9 +66,9 @@ pub fn wasi_cwd() std.os.wasi.fd_t {
66const fatal = std.process.fatal;66const fatal = std.process.fatal;
6767
68/// This can be global since stdin is a singleton.68/// This can be global since stdin is a singleton.
69var stdin_buffer: [4096]u8 = undefined;69var stdin_buffer: [4096]u8 align(std.heap.page_size_min) = undefined;
70/// This can be global since stdout is a singleton.70/// This can be global since stdout is a singleton.
71var stdout_buffer: [4096]u8 = undefined;71var stdout_buffer: [4096]u8 align(std.heap.page_size_min) = undefined;
7272
73/// Shaming all the locations that inappropriately use an O(N) search algorithm.73/// Shaming all the locations that inappropriately use an O(N) search algorithm.
74/// Please delete this and fix the compilation errors!74/// Please delete this and fix the compilation errors!