Skip to content

Commit 38a8b00

Browse files
authored
Merge pull request #37857 from 3405691582/FixImplicitImport
2 parents e731f01 + b708ed5 commit 38a8b00

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/OpenBSD.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ $ ./utils/build-script \
8282
-DSWIFT_BUILD_SOURCEKIT=OFF,\
8383
-DSWIFT_BUILD_SYNTAXPARSERLIB=OFF,\
8484
-DSWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=OFF,\
85+
-DSWIFT_IMPLICIT_CONCURRENCY_IMPORT=OFF,\
8586
-DSWIFT_USE_LINKER=lld,\
8687
-DCMAKE_INSTALL_DIR=/usr/local"
8788
```

lib/Frontend/Frontend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ static bool shouldImportConcurrencyByDefault(const llvm::Triple &target) {
767767
return true;
768768
if (target.isOSLinux())
769769
return true;
770-
#if SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY
770+
#if SWIFT_IMPLICIT_CONCURRENCY_IMPORT
771771
if (target.isOSOpenBSD())
772772
return true;
773773
#endif

0 commit comments

Comments
 (0)