Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add emit_extension_block_symbols for symbol graph extraction #1195

Merged

Conversation

luispadron
Copy link
Contributor

@luispadron luispadron commented Apr 12, 2024

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 bazelbuild/rules_apple#2445

@luispadron luispadron force-pushed the luis/add-support-for-emit-extension-block-symbols branch from f3ca387 to fada9f4 Compare April 12, 2024 17:53
@luispadron luispadron force-pushed the luis/add-support-for-emit-extension-block-symbols branch 2 times, most recently from 712bb69 to a5891b9 Compare June 20, 2024 05:44
@luispadron luispadron changed the title Add support for emit-extension-block-symbols flag Add emit_extension_block_symbols for symbol graph extraction Jun 20, 2024
@luispadron luispadron changed the title Add emit_extension_block_symbols for symbol graph extraction Add emit_extension_block_symbols for symbol graph extraction Jun 20, 2024
@luispadron luispadron force-pushed the luis/add-support-for-emit-extension-block-symbols branch from a5891b9 to 94e4693 Compare June 20, 2024 05:45
@luispadron
Copy link
Contributor Author

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

@luispadron luispadron force-pushed the luis/add-support-for-emit-extension-block-symbols branch 4 times, most recently from 19b63b5 to 9779e03 Compare June 20, 2024 13:33
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.
@luispadron luispadron force-pushed the luis/add-support-for-emit-extension-block-symbols branch from 9779e03 to 93a54ce Compare June 20, 2024 14:15
@luispadron luispadron merged commit 17614f1 into master Jun 20, 2024
14 checks passed
@luispadron luispadron deleted the luis/add-support-for-emit-extension-block-symbols branch June 20, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants