Open
Description
Right now, a Swift target that enables C++ interoperability in SwiftPM requires its dependencies to enable C++ interoperability as well.
We can fix it when Swift supports the following:
internal
imports- resilience for all platforms (that can be enabled in SwiftPM)
This will allow a Swift target to import C++ clang modules using internal
qualifier and will allow it to enable resilience. This will ensure that the dependencies that want to use such Swift target do not have to enable C++ interoperability unless they desire to do so.
This issue tracks the support for both features in Swift. Once both features are supported we can start supporting this C++ interoperability use case as well.
Metadata
Metadata
Assignees
Labels
Feature → modifiers: Access control and access levelsFeature: Interoperability with C++The Swift compiler itselfFeature: declarationsA feature request or implementationFeature → declarations: `import` declarationsFeature: library evolution (umbrella feature for features that facilitate resilient libraries)