diff --git a/.gitignore b/.gitignore index bd40d87..f33e3bd 100644 --- a/.gitignore +++ b/.gitignore @@ -3,5 +3,6 @@ callgrind.out.* core* fuzz/outputs test/xmlconf +.zig-cache zig-cache zig-out diff --git a/bench/build.zig b/bench/build.zig index 003f38f..2be01c6 100644 --- a/bench/build.zig +++ b/bench/build.zig @@ -66,7 +66,7 @@ pub fn build(b: *Build) !void { fn addBench(b: *Build, name: []const u8) *Step.Compile { const exe = b.addExecutable(.{ .name = name, - .root_source_file = .{ .path = b.fmt("src/{s}.zig", .{name}) }, + .root_source_file = b.path(b.fmt("src/{s}.zig", .{name})), .target = b.host, .optimize = .ReleaseFast, });