Skip to content

Commit 93ff18b

Browse files
committed
test: macOS on ASi conforms to the stable ABI
Configure the test suite properly for the expected ABI for macOS on ASi.
1 parent 3a3d2fd commit 93ff18b

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)