You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiles and links Swift code into a static library and Swift module.
@@ -485,6 +486,7 @@ Compiles and links Swift code into a static library and Swift module.
485
486
| <aid="swift_library-package_name"></a>package_name | The semantic package of the Swift target being built. Targets with the same package_name can access APIs using the 'package' access control modifier in Swift 5.9+. | String | optional |`""`|
486
487
| <aid="swift_library-plugins"></a>plugins | 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. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
487
488
| <aid="swift_library-private_deps"></a>private_deps | A list of targets that are implementation-only dependencies of the target being built. Libraries/linker flags from these dependencies will be propagated to dependent for linking, but artifacts/flags required for compilation (such as .swiftmodule files, C headers, and search paths) will not be propagated.<br><br>Allowed kinds of dependencies are:<br><br>*`swift_library` (or anything propagating `SwiftInfo`)<br><br>*`cc_library` and `objc_library` (or anything propagating `CcInfo`) | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
489
+
| <aid="swift_library-suppress_warning_groups"></a>suppress_warning_groups | A list of Swift diagnostic groups to suppress in build output (for example, `DeprecatedDeclaration`). These diagnostics are filtered from the compiler's output by the wrapper and do not change the compiler's behavior. See https://docs.swift.org/compiler/documentation/diagnostics/diagnostic-groups/ for available diagnostic groups. | List of strings | optional |`[]`|
488
490
| <aid="swift_library-swiftc_inputs"></a>swiftc_inputs | Additional files that are referenced using `$(location ...)` in attributes that support location expansion. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
489
491
490
492
@@ -618,7 +620,7 @@ remaining modules collected are not present in the `aliases` of the
A Swift overlay that sits on top of a C/Objective-C library, allowing an author
@@ -709,6 +711,7 @@ almost always an anti-pattern.
709
711
| <aid="swift_overlay-package_name"></a>package_name | The semantic package of the Swift target being built. Targets with the same package_name can access APIs using the 'package' access control modifier in Swift 5.9+. | String | optional |`""`|
710
712
| <aid="swift_overlay-plugins"></a>plugins | 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. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
711
713
| <aid="swift_overlay-private_deps"></a>private_deps | A list of targets that are implementation-only dependencies of the target being built. Libraries/linker flags from these dependencies will be propagated to dependent for linking, but artifacts/flags required for compilation (such as .swiftmodule files, C headers, and search paths) will not be propagated.<br><br>Allowed kinds of dependencies are:<br><br>*`swift_library` (or anything propagating `SwiftInfo`)<br><br>*`cc_library` and `objc_library` (or anything propagating `CcInfo`) | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
714
+
| <aid="swift_overlay-suppress_warning_groups"></a>suppress_warning_groups | A list of Swift diagnostic groups to suppress in build output (for example, `DeprecatedDeclaration`). These diagnostics are filtered from the compiler's output by the wrapper and do not change the compiler's behavior. See https://docs.swift.org/compiler/documentation/diagnostics/diagnostic-groups/ for available diagnostic groups. | List of strings | optional |`[]`|
712
715
| <aid="swift_overlay-swiftc_inputs"></a>swiftc_inputs | Additional files that are referenced using `$(location ...)` in attributes that support location expansion. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
Generates a Swift static library from one or more targets producing `ProtoInfo`.
@@ -837,6 +841,7 @@ swift_proto_library(
837
841
| <aid="swift_proto_library-package_name"></a>package_name | The semantic package of the Swift target being built. Targets with the same package_name can access APIs using the 'package' access control modifier in Swift 5.9+. | String | optional |`""`|
838
842
| <aid="swift_proto_library-plugins"></a>plugins | 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. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
839
843
| <aid="swift_proto_library-protos"></a>protos | A list of `proto_library` targets (or targets producing `ProtoInfo`), from which the Swift source files should be generated. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
844
+
| <aid="swift_proto_library-suppress_warning_groups"></a>suppress_warning_groups | A list of Swift diagnostic groups to suppress in build output (for example, `DeprecatedDeclaration`). These diagnostics are filtered from the compiler's output by the wrapper and do not change the compiler's behavior. See https://docs.swift.org/compiler/documentation/diagnostics/diagnostic-groups/ for available diagnostic groups. | List of strings | optional |`[]`|
840
845
| <aid="swift_proto_library-swiftc_inputs"></a>swiftc_inputs | Additional files that are referenced using `$(location ...)` in attributes that support location expansion. | <ahref="https://bazel.build/concepts/labels">List of labels</a> | optional |`[]`|
0 commit comments