Skip to content

Commit

Permalink
Add note about the future of mixed_language_library (#1418)
Browse files Browse the repository at this point in the history
Signed-off-by: Brentley Jones <github@brentleyjones.com>
  • Loading branch information
brentleyjones authored Oct 21, 2024
1 parent 857ec8d commit bc865ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -1000,6 +1000,10 @@ mixed_language_library(<a href="#mixed_language_library-name">name</a>, <a href=

Creates a mixed language library from a Clang and Swift library target pair.

Note: In the future `swift_library` will support mixed-langauge libraries.
Once that is the case, this macro will be deprecated.


**PARAMETERS**


Expand Down
3 changes: 3 additions & 0 deletions mixed_language/mixed_language_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def mixed_language_library(
"""Creates a mixed language library from a Clang and Swift library target \
pair.
Note: In the future `swift_library` will support mixed-langauge libraries.
Once that is the case, this macro will be deprecated.
Args:
name: The name of the target.
alwayslink: If true, any binary that depends (directly or indirectly) on
Expand Down

0 comments on commit bc865ad

Please sign in to comment.