Skip to content

Commit 3e37d8b

Browse files
committed
update to zig 0.17.0-dev.857+2b2b85c5f
1 parent 2d31eed commit 3e37d8b

3 files changed

Lines changed: 4 additions & 9 deletions

File tree

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.name = .superhtml,
33
.version = "0.7.0",
44
.fingerprint = 0xc5e9aede3c1db363,
5-
.minimum_zig_version = "0.17.0-dev.702+18b3c78a9",
5+
.minimum_zig_version = "0.17.0-dev.857+2b2b85c5f",
66
.dependencies = .{
77
.known_folders = .{
88
.url = "git+https://github.com/ziglibs/known-folders#207c34a16e4365edc20d92c7892f962b3bed46e8",

src/cli/logging.zig

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ fn setupInternal(io: Io, gpa: Allocator, environ: *std.process.Environ.Map) !voi
6161
const file = try cache_base.createFile(io, log_path, .{ .truncate = false });
6262
errdefer file.close(io);
6363

64-
log_writer = file.writerStreaming(io, &buf);
65-
66-
// const end = try file.length(io);
67-
// try file.seekTo(io, end);
64+
const end = try file.length(io);
65+
log_writer = file.writer(io, &buf);
66+
try log_writer.seekTo(end);
6867
}

src/fuzz/afl-repro.zig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const std = @import("std");
22
const afl = @import("afl.zig");
3-
const astgen = afl.astgen;
43

54
pub fn main(init: std.process.Init) !void {
65
const args = try init.minimal.args.toSlice(init.arena.allocator());
@@ -11,7 +10,4 @@ pub fn main(init: std.process.Init) !void {
1110
} else if (args.len == 2) args[1] else @panic("wrong number of arguments");
1211

1312
afl.zig_fuzz_test(@constCast(src.ptr), @intCast(src.len));
14-
15-
// const out = try astgen.build(init.gpa, src);
16-
// try std.Io.File.stdout().writeStreamingAll(init.io, out);
1713
}

0 commit comments

Comments
 (0)