Skip to content

Conversation

@AlexDenisov
Copy link
Contributor

This PR adds preliminary support for Swift 5.8/5.8.1.

@AlexDenisov AlexDenisov requested review from a team as code owners June 14, 2023 14:21
@github-actions github-actions bot added the Swift label Jun 14, 2023
# - name: Print unextracted entities
# shell: bash
# run: |
# bazel run //swift/extractor/print_unextracted
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is only used internally, and now it started failing due to some missing dylibs. We'll fix it later.

Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if this still even works as expected, but agreed, we can look at it later

- uses: swift-actions/setup-swift@65540b95f51493d65f5e59e97dcef9629ddf11bf
with:
swift-version: "${{steps.get_swift_version.outputs.version}}"
swift-version: "5.8"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

setup-swift doesn't support 5.8.1 yet, and it seems there is no need to match the exact version anymore.

@AlexDenisov
Copy link
Contributor Author

Where shall I put the change-note? 🤔

@adityasharad
Copy link
Collaborator

Where shall I put the change-note? 🤔

Good question. Extractor notes don't have an obvious place - I think you can either put it internally in the CLI changelog (which will go public with the release) or put it in the change notes for the Swift library pack in this PR.

@AlexDenisov
Copy link
Contributor Author

I think CLI changelog is a better place for such a change note.

@AlexDenisov AlexDenisov added the no-change-note-required This PR does not need a change note label Jun 14, 2023
Copy link
Contributor

@redsun82 redsun82 left a comment

Choose a reason for hiding this comment

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

Everything seems in order to me (but I'm co-author of half of the commits here 😅)

# - name: Print unextracted entities
# shell: bash
# run: |
# bazel run //swift/extractor/print_unextracted
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if this still even works as expected, but agreed, we can look at it later


pkg_files(
name = "swift-test-sdk-arch",
srcs = ["//swift/third_party/swift-llvm-support:swift-test-sdk"],
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the test-sdk still required? can't the resource-dir replace the need for the separate sdk? In case the answer is yes, this can probably wait the follow-up PRs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not 100% sure, so decided to keep it as is for now, Happy to look into it separately.

@AlexDenisov AlexDenisov merged commit 2212440 into rc/3.10 Jun 16, 2023
@AlexDenisov AlexDenisov deleted the alexdenisov/swift-5.8-against-3.10 branch June 16, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-change-note-required This PR does not need a change note Swift

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants