mod: bump zig master version
Some checks failed
Zig Project Action / Lint, Spell-check and test zig project (push) Failing after 1m9s

This commit is contained in:
2026-01-06 22:58:10 +01:00
parent c49c2a5c6d
commit b1a0d60ae3
20 changed files with 60 additions and 50 deletions

View File

@@ -211,14 +211,13 @@ pub fn expectEqualCells(origin: Point, size: Point, expected: []const Cell, actu
if (!differ) return;
// test failed
debug.lockStdErr();
defer debug.unlockStdErr();
var stdout_buffer: [1024]u8 = undefined;
var stdout = std.fs.File.stdout().writer(&stdout_buffer);
const stdout_writer = &stdout.interface;
try stdout_writer.writeAll(writer.buffer[0..writer.end]);
try stdout_writer.flush();
const io = debug.lockStderr(&stdout_buffer);
defer debug.unlockStderr();
const error_writer = &io.file_writer.interface;
try error_writer.writeAll(writer.buffer[0..writer.end]);
try error_writer.flush();
return error.TestExpectEqualCells;
}