Skip to content

Commit 97da26f

Browse files
committed
[lldb] Bump macOS versions to 11 on the TestPlaygrounds test
This is necessary since macOS 11 was the first version to support ARM64, and the compiler will silently bump up the triple when something < 11 is specified.
1 parent 20d136f commit 97da26f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/API/lang/swift/playgrounds/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let b = 5
1717

1818
a + b
1919

20-
@available(macOS 10.11, iOS 8.0, tvOS 8.0, watchOS 6.0, *) func newAPI() -> Int {
20+
@available(macOS 11.1, iOS 8.0, tvOS 8.0, watchOS 6.0, *) func newAPI() -> Int {
2121
return 11
2222
}
2323

lldb/test/API/lang/swift/playgrounds/TestPlaygrounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_build_triple(self):
5353
version = '7.0'
5454
triple = '{}-{}-{}{}'.format(arch, vendor, os, version)
5555
else:
56-
triple = '{}-apple-macosx10.10'.format(platform.machine())
56+
triple = '{}-apple-macosx11.0'.format(platform.machine())
5757
return triple
5858

5959
def get_run_triple(self):

0 commit comments

Comments
 (0)