Skip to content

Check supports_dynamic_linker feature when setting disallow_dynamic_library - #1152

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_961130661
Aug 13, 2026
Merged

Check supports_dynamic_linker feature when setting disallow_dynamic_library#1152
copybara-service[bot] merged 1 commit into
mainfrom
test_961130661

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 8, 2026

Copy link
Copy Markdown

Check supports_dynamic_linker feature when setting disallow_dynamic_library

The implementation of cc_library considers that feature when setting the disallow_dynamic_library parameter of cc_common.create_linking_context_from_compilation_outputs:
https://github.com/bazelbuild/rules_cc/blob/cd5e6f294b660b8ffbfd2f187aad01d47d446acd/cc/private/rules_impl/cc_library_impl.bzl#L92

That's documented in the well-known-features for cc_toolchain here:
https://bazel.build/docs/cc-toolchain-config-reference#wellknown-features

@copybara-service copybara-service Bot changed the title Internal cleanup Check supports_dynamic_linker feature when setting disallow_dynamic_library Aug 11, 2026
@copybara-service
copybara-service Bot force-pushed the test_961130661 branch 2 times, most recently from c784b37 to 9bfc3fa Compare August 13, 2026 15:33
…ibrary

The implementation of cc_library considers that feature when setting the disallow_dynamic_library parameter of cc_common.create_linking_context_from_compilation_outputs:
https://github.com/bazelbuild/rules_cc/blob/cd5e6f294b660b8ffbfd2f187aad01d47d446acd/cc/private/rules_impl/cc_library_impl.bzl#L92

That's documented in the well-known-features for cc_toolchain here:
https://bazel.build/docs/cc-toolchain-config-reference#wellknown-features

PiperOrigin-RevId: 964113580
@copybara-service
copybara-service Bot merged commit bc08c94 into main Aug 13, 2026
@copybara-service
copybara-service Bot deleted the test_961130661 branch August 13, 2026 15:58
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.

1 participant