mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
frontend: align those stdio buffers
This commit is contained in:
parent
8489bab1f4
commit
b956ae20af
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue