| ... | ... | @@ -1551,7 +1551,7 @@ pub fn fmt(self: *Build, comptime format: []const u8, args: anytype) []u8 { |
| 1551 | 1551 | |
| 1552 | 1552 | pub fn findProgram(self: *Build, names: []const []const u8, paths: []const []const u8) ![]const u8 { |
| 1553 | 1553 | // TODO report error for ambiguous situations |
| 1554 | | const exe_extension = @as(Target.Query, .{}).exeFileExt(); |
| 1554 | const exe_extension = self.host.result.exeFileExt(); |
| 1555 | 1555 | for (self.search_prefixes.items) |search_prefix| { |
| 1556 | 1556 | for (names) |name| { |
| 1557 | 1557 | if (fs.path.isAbsolute(name)) { |