Skip to content

Remove ignored experimental shared-library flag lookup - #825

Open
dzbarsky wants to merge 1 commit into
bazelbuild:mainfrom
dzbarsky:codex/starlarkify-shared-library-flag-check
Open

Remove ignored experimental shared-library flag lookup#825
dzbarsky wants to merge 1 commit into
bazelbuild:mainfrom
dzbarsky:codex/starlarkify-shared-library-flag-check

Conversation

@dzbarsky

Copy link
Copy Markdown
Contributor

Remove the cc_binary dynamic_deps conditional that queries check_experimental_cc_shared_library and discards its result. The meaningful flag-dependent check in cc_shared_library_impl remains unchanged.

Validation: 88 remote C++ binary and ThinLTO analysis tests passed.

@dzbarsky
dzbarsky marked this pull request as ready for review July 31, 2026 19:06
@lilygorsheneva

Copy link
Copy Markdown
Collaborator

I know there's some behavioral differences between cc_binary making a shared library and a cc_shared_library (so we can't trivially migrate everything). @trybka @pzembrod do we want to encourage migration in the future?

Also, are we using experimental_cc_shared_library for anything except those two attribute checks in cc_shared_library? Can we remove that check too?

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