File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,18 @@ The below sample shows what this overlay file may look like:
370
370
}
371
371
```
372
372
373
+ ### Additional changes to the package manager
374
+
375
+ It is the goal for mixed language targets to work on all platforms supported
376
+ by the package manager. One obstacle to that is that the package manager,
377
+ at the time of this proposal, does not invoke the build system with the
378
+ flag needed to emit the interoperability header
379
+ ([ code] [ should-emit-header ] ). This limitation is outdated and will be
380
+ removed as part of this proposal.
381
+
382
+ See the related discussion [ thread] [ swift-emit-header-fr ] from the initial
383
+ formal review.
384
+
373
385
### Related change to the Swift compiler
374
386
375
387
When the Swift compiler creates the generated interop header (via
@@ -529,3 +541,7 @@ listed in the Future Directions section as an area of future work.
529
541
[ `SwiftSetting.InteroperabilityMode` ] : https://developer.apple.com/documentation/packagedescription/swiftsetting/interoperabilitymode
530
542
531
543
[ swift-compiler-thread-fr ] : https://forums.swift.org/t/se-0403-package-manager-mixed-language-target-support/66202/32
544
+
545
+ [ should-emit-header ] : https://github.com/apple/swift-package-manager/blob/6478e2724b8bf77856ff358cba5f59a4a62978bf/Sources/Build/BuildDescription/SwiftTargetBuildDescription.swift#L732-L735
546
+
547
+ [ swift-emit-header-fr ] : https://forums.swift.org/t/se-0403-package-manager-mixed-language-target-support/66202/31
You can’t perform that action at this time.
0 commit comments