From 5944b738d04f768b36d05e6011d1284b49a08749 Mon Sep 17 00:00:00 2001 From: Eric Joldasov Date: Fri, 12 Apr 2024 12:52:22 +0500 Subject: [PATCH] build.zig: update to Zig 0.12.0-dev.3643+10ff81c26 * LazyPath now stores `Build` owner inside in https://github.com/ziglang/zig/pull/19623 and https://github.com/ziglang/zig/pull/19597 . Signed-off-by: Eric Joldasov --- build.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.zig b/build.zig index defd8ad..bfb5665 100644 --- a/build.zig +++ b/build.zig @@ -13,7 +13,7 @@ pub fn build(b: *std.Build) void { const exe = b.addExecutable(.{ .name = "ncdu", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, .link_libc = true, @@ -38,7 +38,7 @@ pub fn build(b: *std.Build) void { run_step.dependOn(&run_cmd.step); const unit_tests = b.addTest(.{ - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = b.path("src/main.zig"), .target = target, .optimize = optimize, .link_libc = true,