File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1057,8 +1057,7 @@ elif run_os == 'linux-androideabi' or run_os == 'linux-android':
1057
1057
tools_directory ,
1058
1058
'-L%s' % make_path (test_resource_dir , config .target_sdk_name )])
1059
1059
# The Swift interpreter is not available when targeting Android.
1060
- if 'swift_interpreter' in config .available_features :
1061
- config .available_features .remove ('swift_interpreter' )
1060
+ config .available_features .discard ('swift_interpreter' )
1062
1061
1063
1062
else :
1064
1063
lit_config .fatal ("Don't know how to define target_run and "
@@ -1500,7 +1499,7 @@ else:
1500
1499
config .available_features .add ('libdispatch' )
1501
1500
else :
1502
1501
# TSan runtime requires libdispatch on non-Apple platforms
1503
- config .available_features .remove ('tsan_runtime' )
1502
+ config .available_features .discard ('tsan_runtime' )
1504
1503
1505
1504
if has_lib ('Foundation' ):
1506
1505
config .available_features .add ('foundation' )
You can’t perform that action at this time.
0 commit comments