From af27e8d06fe151cf689e3a6e33b660e3cd4ac8d0 Mon Sep 17 00:00:00 2001 From: Kirk Scheibelhut Date: Tue, 2 Jun 2026 13:29:03 -0700 Subject: [PATCH] add missing param to mem.concat call also ensure findProgram actually gets analyzed --- lib/std/Build.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/std/Build.zig b/lib/std/Build.zig index c5bf7d889dbae2ab9a7a8a4d00c2ec1ce74b09ec..3bae02122651ac6a9f19a671faf7ea928b014077 100644 --- 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; } -- 2.54.0