Skip to content

Commit 462978f

Browse files
authored
Merge pull request swiftlang#29426 from Rostepher/maccatalyst-darwin-platform
[Build System: build-script] Update the DarwinPlatform.is_embedded method to account for macCatalyst.
2 parents 1c0bdc8 + 1d0f8d7 commit 462978f

File tree

1 file changed

+1
-1
lines changed
  • utils/swift_build_support/swift_build_support

1 file changed

+1
-1
lines changed

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def __init__(self, name, archs, sdk_name=None, is_simulator=False):
7070
@property
7171
def is_embedded(self):
7272
"""Check if this is a Darwin platform for embedded devices."""
73-
return self.name != "macosx"
73+
return self.name != "macosx" and self.name != "maccatalyst"
7474

7575
@property
7676
def supports_benchmark(self):

0 commit comments

Comments
 (0)