bazelbuild / rules_swift

Bazel rules to build Swift on Apple and Linux platforms
Apache License 2.0
309 stars 133 forks source link

Add `emit_extension_block_symbols` for symbol graph extraction #1195

Closed luispadron closed 2 months ago

luispadron commented 4 months ago

The emit_extension_block_symbols attr can be used in the swift_extract_symbol_graph rule to pass the -emit-extension-block-symbols flag when creating the symbol graphs. This enables generating symbol graph information for extensions of custom types.

This is required to support https://github.com/bazelbuild/rules_apple/issues/2445

luispadron commented 2 months ago

@brentleyjones I've updated this for the new rule! Once we start integrating rules_swift 2.x into rules_apple I can close out https://github.com/bazelbuild/rules_apple/issues/2445