commit af27e8d06fe151cf689e3a6e33b660e3cd4ac8d0 (tree)
parent 474017b43d861ebf80188cdd013a8027c464e2d6
Author: Kirk Scheibelhut <kjs@scheibo.com>
Date: Tue, 2 Jun 2026 13:29:03 -0700
add missing param to mem.concat call
also ensure findProgram actually gets analyzed
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/std/Build.zig b/lib/std/Build.zig
@@ -1839,7 +1839,7 @@ fn tryFindProgram(b: *Build, full_path: []const u8) ?[]const u8 {
while (it.next()) |ext| {
if (!supportedWindowsProgramExtension(ext)) continue;
- const extended_path = try mem.concat(arena, &.{ full_path, ext });
+ const extended_path = try mem.concat(arena, u8, &.{ full_path, ext });
if (Io.Dir.cwd().access(io, extended_path, .{ .execute = true })) |_| {
return extended_path;
@@ -2707,4 +2707,5 @@ pub fn systemIntegrationOption(
test {
_ = Cache;
_ = Step;
+ _ = &findProgram;
}