Skip to content

Bring back experimental-sdk as deprecated for compatibility #7512

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

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

MaxDesiatov
Copy link
Contributor

There are enough users of this command and corresponding options on swift build in the wild. These should be deprecated first before removing.

There are enough users of this command and corresponding options on `swift build` in the wild. These should be deprecated first before removing.
@MaxDesiatov
Copy link
Contributor Author

@swift-ci test

@@ -533,6 +533,12 @@ let package = Package(
dependencies: ["Commands", "SwiftSDKCommand"],
exclude: ["CMakeLists.txt"]
),
.executableTarget(
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunate we need to keep the executable here :(

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) April 29, 2024 21:11
@MaxDesiatov MaxDesiatov merged commit 4aa8d78 into main Apr 29, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/deprecate-experimental-sdk branch April 29, 2024 23:06
MaxDesiatov added a commit that referenced this pull request May 1, 2024
…ounterparts (#7515)

Cherry-pick of #7512, #7507, and #7517.

**Explanation**: Since
[SE-0387](https://github.com/apple/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md)
was accepted and available in Swift 5.9 and Swift 5.10, it's time to
deprecate relevant CLI with the `experimental` prefix. There are enough
users of this command and corresponding options on `swift build` in the
wild, which means those should be deprecated first before removing.
**Scope**: isolated to `swift sdk` command and 2 Swift SDK options on
`swift build`.
**Risk**: low, these commands options have no impact on `swift build`
outside of cross-compilation use cases.
**Testing**: added new end-to-end tests in `SDKCommandTests` in
#7517 cherry-picked
here.
**Issue**: N/A
**Reviewer**: @bnbarham
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…ang#7512)

There are enough users of this command and corresponding options on `swift build` in the wild. These should be deprecated first before removing.
furby-tm pushed a commit to wabiverse/swift-package-manager that referenced this pull request May 15, 2024
…ang#7512)

There are enough users of this command and corresponding options on `swift build` in the wild. These should be deprecated first before removing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants