Skip to content

Commit

Permalink
Support for alwayslink outputs.
Browse files Browse the repository at this point in the history
Bazel uses a different extension for things that are marked as alwayslink, so
support that extension also.

PiperOrigin-RevId: 553798483
(cherry picked from commit c9768e0)
  • Loading branch information
thomasvl authored and brentleyjones committed Oct 7, 2024
1 parent 3c6f190 commit 3b9d0cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swift/swift_import.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,9 @@ swift_import = rule(
{
"archives": attr.label_list(
allow_empty = True,
allow_files = ["a"],
allow_files = ["a", "lo"],
doc = """\
The list of `.a` files provided to Swift targets that depend on this target.
The list of `.a` or `.lo` files provided to Swift targets that depend on this target.
""",
mandatory = False,
),
Expand Down

0 comments on commit 3b9d0cb

Please sign in to comment.