Skip to content

Commit a9501e0

Browse files
committed
test: simulators on Apple Silicon conform to the stable ABI
Addresses rdar://108788348
1 parent 8409530 commit a9501e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/lit.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,8 @@ if run_os in ('maccatalyst',):
919919
target_os_abi = 'macosx'
920920
target_os_is_maccatalyst = "TRUE"
921921
config.available_features.add("OS=ios")
922-
# macOS on ASi uses the stable ABI
923-
if run_os in ('macosx',) and run_cpu in ('arm64',):
922+
# macOS and simulators on ASi use the stable ABI
923+
if (run_os in ('macosx',) or 'simulator' in run_environment) and run_cpu in ('arm64',):
924924
target_mandates_stable_abi = "TRUE"
925925
config.available_features.add('swift_only_stable_abi')
926926
if run_os in (

0 commit comments

Comments
 (0)