Skip to content

[6.1] Update SwiftStdlib 6.1 availability macro #80722

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 2 commits into from
Apr 11, 2025

Conversation

slavapestov
Copy link
Contributor

6.1 cherry-pick of #80596.

  • Description: Fill in the real version numbers now that Swift 6.1 has shipped.

  • Reviewed by: @hborla

@slavapestov slavapestov requested a review from a team as a code owner April 10, 2025 15:52
@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov
Copy link
Contributor Author

/home/build-user/swift/include/swift/AST/RuntimeVersions.def:158:3: error: use of undeclared identifier 'PLATFORM_TEST_visionOS'
  PLATFORM(visionOS,(2, 4, 0))
  ^
/home/build-user/swift/lib/AST/Availability.cpp:706:7: note: expanded from macro 'PLATFORM'
  if (IS_PLATFORM(P))                                                          \
      ^
/home/build-user/swift/lib/AST/Availability.cpp:708:24: note: expanded from macro 'IS_PLATFORM'
#define IS_PLATFORM(P) PLATFORM_TEST_##P
                       ^
<scratch space>:48:1: note: expanded from here
PLATFORM_TEST_visionOS
^
1 error generated.

Oops.

@slavapestov
Copy link
Contributor Author

@swift-ci Please test

@slavapestov slavapestov merged commit 5e462ee into swiftlang:release/6.1 Apr 11, 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.

2 participants