2
0
Fork 0
mirror of https://github.com/bazelbuild/rules_cc synced 2024-11-25 17:31:30 +00:00
Commit graph

4 commits

Author SHA1 Message Date
Armando Montanez b8045d5626 Properly support target-specific capabilities
Changes supports_pic and supports_dynamic_linker features to
cc_target_capability rules since the capability is tied to target
platform capabilities rather than tool capabilities.
2024-11-07 11:57:29 -08:00
Armando Montanez 5a91c52992 Revert "Move target-specific capabilities back to features"
This reverts commit 272f4173f5.
2024-11-07 08:50:07 -08:00
Armando Montanez 272f4173f5 Move target-specific capabilities back to features
Some features with the "supports_*" naming style were moved to be tool
capabilites despite being target capabilities rather than toolchain tool
capabilities. This change restores them to their original location so
they can be enabled at the cc_toolchain level instead.
2024-11-06 18:04:28 -08:00
Googler f364500ba8 Create a concept of a tool capability.
This should make the concept of "sentinel features" work correctly with known_features and enabled_features, rather than enabling them directly in features.

PiperOrigin-RevId: 681688437
Change-Id: I29184a2079ccfd0eb3a275439508a66ca61109af
2024-10-02 19:56:22 -07:00