| ... | ... | @@ -2127,7 +2127,9 @@ fn detectLibCIncludeDirs( |
| 2127 | 2127 | return detectLibCFromLibCInstallation(arena, target, lci); |
| 2128 | 2128 | } |
| 2129 | 2129 | |
| 2130 | | if (target_util.canBuildLibC(target)) { |
| 2130 | if (target_util.canBuildLibC(target)) outer: { |
| 2131 | if (is_native_os and target.isDarwin()) break :outer; // If we're on Darwin, we want to use native since we only have headers. |
| 2132 | |
| 2131 | 2133 | const generic_name = target_util.libCGenericName(target); |
| 2132 | 2134 | // Some architectures are handled by the same set of headers. |
| 2133 | 2135 | const arch_name = if (target.abi.isMusl()) target_util.archMuslName(target.cpu.arch) else @tagName(target.cpu.arch); |