File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2011,9 +2011,7 @@ if os.path.exists(static_libswiftCore_path):
2011
2011
2012
2012
# Determine whether the concurrency runtime is available.
2013
2013
if 'concurrency' in config .available_features :
2014
- if 'use_os_stdlib' not in lit_config .params :
2015
- config .available_features .add ('concurrency_runtime' )
2016
- elif run_vendor == 'apple' :
2014
+ if run_vendor == 'apple' :
2017
2015
# OS version in which concurrency was introduced
2018
2016
CONCURRENCY_OS_VERSION = {
2019
2017
'macosx' : '12' ,
@@ -2034,9 +2032,9 @@ if 'concurrency' in config.available_features:
2034
2032
}
2035
2033
concurrency_back_deploy_version = CONCURRENCY_BACK_DEPLOY_VERSION .get (run_os , '' )
2036
2034
2037
- if run_vers >= concurrency_os_version :
2035
+ if sw_vers_vers >= concurrency_os_version :
2038
2036
config .available_features .add ('concurrency_runtime' )
2039
- elif 'back_deploy_concurrency' in config .available_features and run_vers >= concurrency_back_deploy_version :
2037
+ elif 'back_deploy_concurrency' in config .available_features and sw_vers_vers >= concurrency_back_deploy_version :
2040
2038
config .available_features .add ('concurrency_runtime' )
2041
2039
else :
2042
2040
config .available_features .add ('concurrency_runtime' )
You can’t perform that action at this time.
0 commit comments