Skip to content

[6.2] Cherry-pick recent CompatibilitySpan work #80680

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 9 commits into from
Apr 23, 2025

Conversation

slavapestov
Copy link
Contributor

@slavapestov slavapestov commented Apr 9, 2025

6.2 cherry-pick of #80596, #80510, #80678

  • Description: Mostly cmake-adjacent changes for the libswiftCompatibilitySpan.dylib library, together with the right annotations needed to emit the $ld$previous symbols into libswiftCore.dylib. Also, update the SwiftStdlib 6.1 availability macro with real version numbers now that Swift 6.1 has been officially released.

  • Risk: Medium, just because cmake changes have caused problems in the past. Also the $ld$previous symbols will take effect if someone uses Span and builds for an older deployment target, but that shouldn't impact existing code.

  • Reviewed by: @hborla

@slavapestov slavapestov requested a review from a team as a code owner April 9, 2025 16:44
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

This actually depends on #80645 landing first.

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@edymtt
Copy link
Contributor

edymtt commented Apr 17, 2025

You will also need to cherry-pick #80885 to ensure symbols have the correct names in the new build system as well.

@slavapestov slavapestov force-pushed the compatibility-span-6.2 branch from eda1c07 to d62e385 Compare April 21, 2025 19:03
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov enabled auto-merge April 22, 2025 21:12
@slavapestov slavapestov merged commit a10356a into swiftlang:release/6.2 Apr 23, 2025
5 checks passed
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.

3 participants