Skip to content

Conversation

@tshortli
Copy link
Contributor

Availability version remapping currently only applies to code built for visionOS. We plan to introduce more platform kinds and standalone availability domains that will require version remapping, though, so it's time to rearchitect and simplify the code to make it easier to generalize.

AvailabilityDomain is now responsible for version remapping and much of the previously duplicated utilities have been consolidated.

There's no need to take one as input to a method on `Decl`. NFC.
Availability version remapping currently only applies to code built for
visionOS. We plan to introduce more platform kinds and standalone availability
domains that will require version remapping, though, so it's time to
rearchitect and simplify the code to make it easier to generalize.

`AvailabilityDomain` is now responsible for version remapping and much of the
previously duplicated utilities have been consolidated.
@tshortli
Copy link
Contributor Author

@swift-ci please test

@tshortli tshortli enabled auto-merge October 25, 2025 00:23
@tshortli tshortli merged commit 17a8706 into swiftlang:main Oct 25, 2025
5 checks passed
@tshortli tshortli deleted the refactor-version-remap branch October 25, 2025 14:23
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.

1 participant