mirror of
https://github.com/ziglang/zig.git
synced 2026-01-14 19:35:12 +00:00
frontend: align those stdio buffers
This commit is contained in:
parent
e40f5b32d3
commit
3df144e0d4
@ -66,9 +66,9 @@ pub fn wasi_cwd() std.os.wasi.fd_t {
|
||||
const fatal = std.process.fatal;
|
||||
|
||||
/// This can be global since stdin is a singleton.
|
||||
var stdin_buffer: [4096]u8 = undefined;
|
||||
var stdin_buffer: [4096]u8 align(std.heap.page_size_min) = undefined;
|
||||
/// This can be global since stdout is a singleton.
|
||||
var stdout_buffer: [4096]u8 = undefined;
|
||||
var stdout_buffer: [4096]u8 align(std.heap.page_size_min) = undefined;
|
||||
|
||||
/// Shaming all the locations that inappropriately use an O(N) search algorithm.
|
||||
/// Please delete this and fix the compilation errors!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user