Skip to content

Define placeholder availability for Swift 6.2 #78538

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 4 commits into from
Jan 11, 2025

Conversation

lorentey
Copy link
Member

This PR defines SwiftStdlib 6.2 to track availability of features introduced on the current main branch.

SwiftStdlib 6.2:macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, visionOS 9999

It also updates RuntimeVersions.def to define placeholder availability for the 6.2 runtime within the compiler.

Additionally, _SwiftStdlibVersion gains a new .v6_2_0 case, and _SwiftStdlibVersion.current is updated to report that.

@lorentey lorentey requested a review from glessard January 10, 2025 02:27
@lorentey lorentey requested review from a team, hborla, slavapestov and xedin as code owners January 10, 2025 02:27
@lorentey
Copy link
Member Author

@swift-ci test

@lorentey lorentey requested a review from shahmishal January 10, 2025 02:27
@lorentey
Copy link
Member Author

******************** TEST 'Swift(macosx-x86_64) :: abi/macOS/x86_64/stdlib-asserts.swift' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
--- /Users/ec2-user/jenkins/workspace/swift-PR-macos/branch-main/swift/test/abi/macOS/x86_64/../../Inputs/macOS/x86_64/stdlib/baseline-asserts	2025-01-10 02:32:42
+++ /Users/ec2-user/jenkins/workspace/swift-PR-macos/branch-main/build/buildbot_incremental/swift-macosx-x86_64/test-macosx-x86_64/abi/macOS/x86_64/Output/stdlib-asserts.swift.tmp/symbols	2025-01-10 04:04:46
@@ -3385,6 +3385,7 @@
 _$sSo19_SwiftStdlibVersionas23CustomStringConvertiblesWP
 _$sSo19_SwiftStdlibVersionasE11descriptionSSvg
 _$sSo19_SwiftStdlibVersionasE11descriptionSSvpMV
+_$sSo19_SwiftStdlibVersionasE6v6_2_0ABvpZMV
 _$sSo19_SwiftStdlibVersionasE7currentABvgZ
 _$sSp10deallocate8capacityySi_tF
 _$sSp10deallocateyyF

--

D'oh, I didn't realize we're exporting these for @_aeic definitions. 🤔

@lorentey
Copy link
Member Author

@swift-ci test

@glessard glessard merged commit 18dd091 into swiftlang:main Jan 11, 2025
5 checks passed
@lorentey lorentey deleted the define-availability-for-6.2 branch January 11, 2025 02:13
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