| ... | @@ -1839,7 +1839,7 @@ fn tryFindProgram(b: *Build, full_path: []const u8) ?[]const u8 { | ... | @@ -1839,7 +1839,7 @@ fn tryFindProgram(b: *Build, full_path: []const u8) ?[]const u8 { |
| 1839 | while (it.next()) |ext| { | 1839 | while (it.next()) |ext| { |
| 1840 | if (!supportedWindowsProgramExtension(ext)) continue; | 1840 | if (!supportedWindowsProgramExtension(ext)) continue; |
| 1841 | | 1841 | |
| 1842 | const extended_path = try mem.concat(arena, &.{ full_path, ext }); | 1842 | const extended_path = try mem.concat(arena, u8, &.{ full_path, ext }); |
| 1843 | | 1843 | |
| 1844 | if (Io.Dir.cwd().access(io, extended_path, .{ .execute = true })) |_| { | 1844 | if (Io.Dir.cwd().access(io, extended_path, .{ .execute = true })) |_| { |
| 1845 | return extended_path; | 1845 | return extended_path; |
| ... | @@ -2707,4 +2707,5 @@ pub fn systemIntegrationOption( | ... | @@ -2707,4 +2707,5 @@ pub fn systemIntegrationOption( |
| 2707 | test { | 2707 | test { |
| 2708 | _ = Cache; | 2708 | _ = Cache; |
| 2709 | _ = Step; | 2709 | _ = Step; |
| | 2710 | _ = &findProgram; |
| 2710 | } | 2711 | } |