Skip to content

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Nov 29, 2023

This PR renames the SwiftPM entry point function such that it does not need to be SPI. By marking it SPI, we unintentionally made it very difficult to use with a toolchain that does not include private module information.

The PR continues to export the old symbol name as used by SwiftPM; once we've updated SwiftPM to match, we will remove the old function.

See: swiftlang/swift-package-manager#7137

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

@grynspan
Copy link
Contributor Author

@swift-ci please test

This PR renames the SwiftPM entry point function such that it does not need to be SPI. By marking it SPI, we unintentionally made it very difficult to use with a toolchain that does not include private module information.

The PR continues to export the old symbol name as used by SwiftPM; once we've updated SwiftPM to match, we will remove the old function.
@grynspan grynspan force-pushed the jgrynspan/rename-swift-pm-entry-point branch from 63652e2 to a076a2d Compare November 29, 2023 18:22
@grynspan
Copy link
Contributor Author

@swift-ci please test

@stmontgomery stmontgomery added the swiftpm-integration 📦 Swift Package Manager integration label Nov 29, 2023
@grynspan grynspan merged commit 10d4009 into main Nov 29, 2023
@grynspan grynspan deleted the jgrynspan/rename-swift-pm-entry-point branch November 29, 2023 18:54
grynspan added a commit to swiftlang/swift-package-manager that referenced this pull request Nov 29, 2023
This PR renames the entry point function used by SwiftPM to call into
swift-testing such that it does not need to be SPI. By marking it SPI,
we unintentionally made it very difficult to use with a toolchain that
does not include private module information.

swift-testing will continue to export the old symbol name as used by
SwiftPM until this change has firmly landed in toolchains, after which
we will remove the old function.

See: swiftlang/swift-testing#141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

swiftpm-integration 📦 Swift Package Manager integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants