Skip to content

Move the two extension range helpers out of Descriptor.#1298

Merged
thomasvl merged 1 commit into
apple:mainfrom
thomasvl:move_range_bits
Sep 8, 2022
Merged

Move the two extension range helpers out of Descriptor.#1298
thomasvl merged 1 commit into
apple:mainfrom
thomasvl:move_range_bits

Conversation

@thomasvl

@thomasvl thomasvl commented Sep 8, 2022

Copy link
Copy Markdown
Collaborator

These two apis aren't a normal part of the C++ Descriptor api, so move them out to the plugin level itself so they aren't public api going forward.

As of http://github.com/apple/swift-package-manager/pull/3316 tests can depend on executable targets. The majority of this CL is then adding a new test (only for newer SwiftPM versions) that allows the tests also to have been moved over.

These two apis aren't a normal part of the C++ Descriptor api, so move them out
to the plugin level itself so they aren't public api going forward.

As of http://github.com/apple/swift-package-manager/pull/3316 tests can depend
on executable targets. The majority of this CL is then adding a new test (only
for newer SwiftPM versions) that allows the tests also to have been moved over.
@thomasvl thomasvl marked this pull request as ready for review September 8, 2022 17:24
@thomasvl thomasvl merged commit c5b3769 into apple:main Sep 8, 2022
@thomasvl thomasvl deleted the move_range_bits branch September 8, 2022 17:27
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