Skip to content

Commit 8d5e67f

Browse files
authored
Merge pull request #38805 from apple/maxd/wasi-concurrency
2 parents 6c50414 + d68fbe4 commit 8d5e67f

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
@@ -764,6 +764,8 @@ static bool shouldImportConcurrencyByDefault(const llvm::Triple &target) {
764764
if (target.isOSLinux())
765765
return true;
766766
#if SWIFT_IMPLICIT_CONCURRENCY_IMPORT
767+
if (target.isOSWASI())
768+
return true;
767769
if (target.isOSOpenBSD())
768770
return true;
769771
#endif

0 commit comments

Comments
 (0)