Skip to content

Commit 8c5d079

Browse files
authored
Merge pull request #33287 from compnerd/ASi-ABI
test: macOS on ASi conforms to the stable ABI
2 parents 69d8398 + 93ff18b commit 8c5d079

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/lit.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,10 @@ if (run_os == 'maccatalyst'):
708708
target_os_abi = 'macosx'
709709
target_os_is_maccatalyst = "TRUE"
710710
config.available_features.add("OS=ios")
711+
# macOS on ASi uses the stable ABI
712+
if run_os in ('macosx',) and run_cpu in ('arm64',):
713+
target_mandates_stable_abi = "TRUE"
714+
config.available_features.add('swift_only_stable_abi')
711715
if (run_os in ['linux-gnu', 'linux-gnueabihf', 'freebsd', 'openbsd', 'windows-cygnus', 'windows-gnu', 'windows-msvc', 'linux-android', 'linux-androideabi']):
712716
target_mandates_stable_abi = "TRUE"
713717
config.available_features.add('swift_only_stable_abi')

0 commit comments

Comments
 (0)