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':
10571057 tools_directory ,
10581058 '-L%s' % make_path (test_resource_dir , config .target_sdk_name )])
10591059 # 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' )
10621061
10631062else :
10641063 lit_config .fatal ("Don't know how to define target_run and "
@@ -1500,7 +1499,7 @@ else:
15001499 config .available_features .add ('libdispatch' )
15011500 else :
15021501 # TSan runtime requires libdispatch on non-Apple platforms
1503- config .available_features .remove ('tsan_runtime' )
1502+ config .available_features .discard ('tsan_runtime' )
15041503
15051504 if has_lib ('Foundation' ):
15061505 config .available_features .add ('foundation' )
You can’t perform that action at this time.
0 commit comments