Skip to content

Commit 31e26a9

Browse files
committed
frontend: enable shouldImportConcurrencyByDefault() on FreeBSD
Match OpenBSD and honor the SWIFT_IMPLICIT_CONCURRENCY_IMPORT build setting.
1 parent 7727ce7 commit 31e26a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/Frontend/Frontend.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,8 @@ static bool shouldImportConcurrencyByDefault(const llvm::Triple &target) {
830830
return true;
831831
if (target.isOSOpenBSD())
832832
return true;
833+
if (target.isOSFreeBSD())
834+
return true;
833835
#endif
834836
return false;
835837
}

0 commit comments

Comments
 (0)