Skip to content

Commit

Permalink
Remove unnecessary SwiftBinaryInfo required provider from plugins
Browse files Browse the repository at this point in the history
… attribute (#1445)

I incorrectly added this as part of the cherry-pick in
5f6ac77.

---------

Signed-off-by: Brentley Jones <github@brentleyjones.com>
  • Loading branch information
brentleyjones committed Oct 25, 2024
1 parent 5bb185c commit fd3c5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions swift/internal/attrs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"""Common attributes used by multiple Swift build rules."""

load("@bazel_skylib//lib:dicts.bzl", "dicts")
load("//swift:providers.bzl", "SwiftBinaryInfo", "SwiftInfo")
load("//swift:providers.bzl", "SwiftInfo")
load(":providers.bzl", "SwiftCompilerPluginInfo")

def swift_common_rule_attrs(
Expand Down Expand Up @@ -147,7 +147,7 @@ Swift 5.9+.
A list of `swift_compiler_plugin` targets that should be loaded by the compiler
when compiling this module and any modules that directly depend on it.
""",
providers = [[SwiftBinaryInfo, SwiftCompilerPluginInfo]],
providers = [SwiftCompilerPluginInfo],
),
"srcs": attr.label_list(
allow_empty = not requires_srcs,
Expand Down

0 comments on commit fd3c5ac

Please sign in to comment.