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

[core] Remove platform dance in Package.swift #400

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

fabianfett
Copy link
Member

No description provided.

@fabianfett fabianfett requested a review from sebsto October 9, 2024 08:12
Copy link
Contributor

@sebsto sebsto left a comment

Choose a reason for hiding this comment

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

Looks like this changes breaks the CI

let package = Package(
name: "swift-aws-lambda-runtime",
platforms: platforms,
platforms: [.macOS(.v15)],
Copy link
Contributor

Choose a reason for hiding this comment

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

This breaks the Swift 6 nightly and swift 6 language mode CI actions

/__w/swift-aws-lambda-runtime/swift-aws-lambda-runtime/Package.swift:7:25: error: reference to member 'v15' cannot be resolved without a contextual type
  5 | let package = Package(
  6 |     name: "swift-aws-lambda-runtime",
  7 |     platforms: [.macOS(.v15)],
    |                         `- error: reference to member 'v15' cannot be resolved without a contextual type
  8 |     products: [
  9 |         // this library exports `AWSLambdaRuntimeCore` and adds Foundation convenience methods

@sebsto
Copy link
Contributor

sebsto commented Oct 9, 2024

@fabianfett can you cross reference the issue you opened (or will open) on the SwiftPM project ?

@sebsto sebsto added the semver/none No version bump required. label Nov 26, 2024
@sebsto sebsto changed the title Remove platform dance in Package.swift [core] Remove platform dance in Package.swift Dec 19, 2024
@sebsto sebsto merged commit b687a09 into swift-server:main Dec 19, 2024
24 checks passed
@sebsto
Copy link
Contributor

sebsto commented Dec 19, 2024

This change no longer breaks the CI, merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants