File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -414,8 +414,12 @@ option(SWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING
414414 "Enable experimental Swift differentiable programming features"
415415 FALSE )
416416
417+ option (SWIFT_IMPLICIT_CONCURRENCY_IMPORT
418+ "Implicitly import the Swift concurrency module"
419+ TRUE )
420+
417421option (SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY
418- "Enable experimental Swift concurrency model "
422+ "Enable build of the Swift concurrency module "
419423 FALSE )
420424
421425option (SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ namespace swift {
284284
285285 // / Disable the implicit import of the _Concurrency module.
286286 bool DisableImplicitConcurrencyModuleImport =
287- !SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY ;
287+ !SWIFT_IMPLICIT_CONCURRENCY_IMPORT ;
288288
289289 // / Should we check the target OSs of serialized modules to see that they're
290290 // / new enough?
Original file line number Diff line number Diff line change 88
99#cmakedefine HAVE_PROC_PID_RUSAGE 1
1010
11- #cmakedefine01 SWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY
11+ #cmakedefine01 SWIFT_IMPLICIT_CONCURRENCY_IMPORT
1212
1313#cmakedefine01 SWIFT_ENABLE_EXPERIMENTAL_DISTRIBUTED
1414
Original file line number Diff line number Diff line change @@ -2418,7 +2418,7 @@ swift-enable-compatibility-overrides=0
24182418swift-runtime-macho-no-dyld =1
24192419swift-stdlib-single-threaded-runtime =1
24202420swift-stdlib-os-versioning =0
2421- extra-cmake-options =-DSWIFT_ENABLE_DISPATCH:BOOL =FALSE
2421+ extra-cmake-options =-DSWIFT_ENABLE_DISPATCH:BOOL =FALSE -DSWIFT_IMPLICIT_CONCURRENCY_IMPORT: BOOL =FALSE
24222422
24232423[preset: stdlib_S_standalone_minimal_macho_x86_64,build]
24242424mixin-preset =
You can’t perform that action at this time.
0 commit comments