chore: update to latest zig nightly

This commit is contained in:
2022-02-02 21:26:12 -04:00
parent 99492a6782
commit 33399e9517
3 changed files with 3 additions and 3 deletions

View File

@@ -52,7 +52,7 @@ pub fn main() anyerror!void {
var log_file: ?File = undefined;
if (enable_logging) {
const file_name: []const u8 = if (is_binary) "zba.bin" else "zba.log";
const file = try std.fs.cwd().createFile(file_name, .{ .read = true });
const file = try std.fs.cwd().createFile(file_name, .{});
cpu.useLogger(&file, is_binary);
log_file = file;