Skip to content
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

[NFC] Use SwiftSDK instead of deprecated Destination #773

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

MaxDesiatov
Copy link
Contributor

Code utilizing libSwiftPM should use SwiftSDK instead, with a few other properties renamed for clarity on related types. In this PR specifically we should use new targetTriple instead of the deprecated triple on the Toolchain type.

Depends on swiftlang/swift-package-manager#6707.

Code utilizing libSwiftPM should use `SwiftSDK` instead, with a few other properties renamed for clarity on related types. In this PR specifically we should use new `targetTriple` instead of the deprecated `triple` on the `Toolchain` type.
@MaxDesiatov MaxDesiatov marked this pull request as draft July 18, 2023 13:56
@MaxDesiatov MaxDesiatov marked this pull request as ready for review July 18, 2023 13:56
@MaxDesiatov MaxDesiatov changed the title Use SwiftSDK instead of deprecated Destination [NFC] Use SwiftSDK instead of deprecated Destination Jul 18, 2023
@MaxDesiatov MaxDesiatov self-assigned this Jul 18, 2023
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

Copy link
Member

@ahoppen ahoppen left a comment

Choose a reason for hiding this comment

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

Are these just renames or does SwiftSDK signify something different than Destionation, but just happens to be used for the same thing here?

@MaxDesiatov
Copy link
Contributor Author

Plain renames, Swift SDK is the same thing that SwiftPM called a destination previously.

@MaxDesiatov
Copy link
Contributor Author

@swift-ci test windows

@ahoppen
Copy link
Member

ahoppen commented Jul 18, 2023

OK, thanks for the clarification.

@MaxDesiatov MaxDesiatov merged commit 2a3b834 into main Jul 19, 2023
@MaxDesiatov MaxDesiatov deleted the maxd/fix-destination-deprecation branch July 19, 2023 07:39
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