Skip to content

Commit 8f098b4

Browse files
committed
Update docs
1 parent 647f38d commit 8f098b4

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

doc/providers.md

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -22,32 +22,6 @@ SwiftInfo(<a href="#SwiftInfo-direct_modules">direct_modules</a>, <a href="#Swif
2222

2323
Contains information about the compiled artifacts of a Swift module.
2424

25-
This provider has a custom initializer that will merge the transitive modules of
26-
a list of `SwiftInfo` providers, rather than a separate "merge" function. The
27-
correct signature when _creating_ a new `SwiftInfo` provider is the following:
28-
29-
```build
30-
SwiftInfo(
31-
direct_swift_infos,
32-
modules,
33-
swift_infos,
34-
)
35-
```
36-
37-
where the arguments are:
38-
39-
* `direct_swift_infos`: A list of `SwiftInfo` providers from dependencies
40-
whose direct modules should be treated as direct modules in the resulting
41-
provider, in addition to their transitive modules being merged.
42-
* `modules`: A list of values (as returned by `create_swift_module_context`)
43-
that represent Clang and/or Swift module artifacts that are direct outputs
44-
of the target being built.
45-
* `swift_infos`: A list of `SwiftInfo` providers from dependencies whose
46-
transitive modules should be merged into the resulting provider.
47-
48-
When reading an existing `SwiftInfo` provider, it has the two fields described
49-
below.
50-
5125
**FIELDS**
5226

5327

0 commit comments

Comments
 (0)