Skip to content

Recognize visionOS and DriverKit triples correctly #8898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jakepetroules
Copy link
Contributor

This makes visionOS and DriverKit builds work correctly using the Swift Build backend.

This makes visionOS and DriverKit builds work correctly using the Swift Build backend.
@jakepetroules
Copy link
Contributor Author

@swift-ci test

@@ -43,6 +43,12 @@ public enum DarwinPlatform: Hashable {
/// watchOS, corresponding to the `watchos` OS name.
case watchOS(EnvironmentWithoutCatalyst)

/// visionOS, corresponding to the `xros` and `visionos` OS names.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The triple implementation is vendor over from SwiftDriver so it's probably best to try to keep the two in sync

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants