| ... | @@ -2147,9 +2147,7 @@ fn detectLibCIncludeDirs( | ... | @@ -2147,9 +2147,7 @@ fn detectLibCIncludeDirs( |
| 2147 | return detectLibCFromLibCInstallation(arena, target, lci); | 2147 | return detectLibCFromLibCInstallation(arena, target, lci); |
| 2148 | } | 2148 | } |
| 2149 | | 2149 | |
| 2150 | if (target_util.canBuildLibC(target)) outer: { | 2150 | if (target_util.canBuildLibC(target)) { |
| 2151 | if (is_native_os and target.isDarwin()) break :outer; // If we're on Darwin, we want to use native since we only have headers. | | |
| 2152 | | | |
| 2153 | const generic_name = target_util.libCGenericName(target); | 2151 | const generic_name = target_util.libCGenericName(target); |
| 2154 | // Some architectures are handled by the same set of headers. | 2152 | // Some architectures are handled by the same set of headers. |
| 2155 | const arch_name = if (target.abi.isMusl()) target_util.archMuslName(target.cpu.arch) else @tagName(target.cpu.arch); | 2153 | const arch_name = if (target.abi.isMusl()) target_util.archMuslName(target.cpu.arch) else @tagName(target.cpu.arch); |