File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,10 @@ Initial support for targets containing mixed language sources will have the
111
111
following limitations:
112
112
1 . The target must be either a library or test target. Support for other types
113
113
of targets is deferred until the use cases become clear.
114
-
114
+ 1 . If the target contains a custom module map, it cannot contain a submodule of
115
+ the form ` $(ModuleName).Swift ` . This is because the package manager will
116
+ synthesize an _ extended_ module map that includes a submodule that
117
+ modularizes the generated Swift interop header.
115
118
116
119
### Importing a mixed target
117
120
@@ -453,6 +456,12 @@ There are several failure cases that may surface to end users:
453
456
with mixed language sources are only supported for library and test
454
457
targets.
455
458
```
459
+ - Attempting to build a mixed target containing a custom module map
460
+ that contains a ` $(MixedTargetName).Swift ` submodule.
461
+ ```
462
+ The target's module map may not contain a Swift submodule for the
463
+ module \(target name).
464
+ ```
456
465
457
466
### Testing
458
467
You can’t perform that action at this time.
0 commit comments