We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8489bab commit b956ae2Copy full SHA for b956ae2
src/main.zig
@@ -66,9 +66,9 @@ pub fn wasi_cwd() std.os.wasi.fd_t {
66
const fatal = std.process.fatal;
67
68
/// This can be global since stdin is a singleton.
69
-var stdin_buffer: [4096]u8 = undefined;
+var stdin_buffer: [4096]u8 align(std.heap.page_size_min) = undefined;
70
/// This can be global since stdout is a singleton.
71
-var stdout_buffer: [4096]u8 = undefined;
+var stdout_buffer: [4096]u8 align(std.heap.page_size_min) = undefined;
72
73
/// Shaming all the locations that inappropriately use an O(N) search algorithm.
74
/// Please delete this and fix the compilation errors!
0 commit comments