libc headers before C language headers, and disable libunwind on arm32

This commit is contained in:
Andrew Kelley
2019-07-16 21:38:18 -04:00
parent ec92739022
commit c0b4121ff2
4 changed files with 17 additions and 5 deletions

View File

@@ -1687,3 +1687,9 @@ const char *target_arch_musl_name(ZigLLVM_ArchType arch) {
}
}
bool target_supports_libunwind(const ZigTarget *target) {
if (target->arch == ZigLLVM_arm || target->arch == ZigLLVM_armeb) {
return false;
}
return true;
}