frontend: enable shouldImportConcurrencyByDefault() on FreeBSD

Match OpenBSD and honor the SWIFT_IMPLICIT_CONCURRENCY_IMPORT build setting.
This commit is contained in:
Matt Jacobson
2023-03-15 04:28:28 -04:00
parent 7727ce75e7
commit 31e26a92ec

View File

@@ -830,6 +830,8 @@ static bool shouldImportConcurrencyByDefault(const llvm::Triple &target) {
return true;
if (target.isOSOpenBSD())
return true;
if (target.isOSFreeBSD())
return true;
#endif
return false;
}