build: Fix if build_root.path is null
1 files changed, 1 insertions(+), 1 deletions(-) M build.zig
M build.zig => build.zig +1 -1
@@ 22,7 22,7 @@ pub fn build(b: *Builder) !void { var ret: u8 = undefined; const git_describe_long = b.execAllowFail( &[_][]const u8{ "git", "-C", b.build_root.path.?, "describe", "--long" }, &[_][]const u8{ "git", "-C", b.build_root.path orelse ".", "describe", "--long" }, &ret, .Inherit, ) catch break :blk version;