-
Notifications
You must be signed in to change notification settings - Fork 4.4k
CcSkylarkApiProvider does not expose alwayslink libraries #7033
Copy link
Copy link
Closed
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request
Description
Description of the problem / feature request:
CcSkylarkApiProvider should expose cc_libraryies with alwayslink = True, so that it is possible to properly add -Wl,--whole-source when we need to build the link flag ourselves, such as in rules_go.
What's the output of bazel info release?
release 0.21.0
Any other information, logs, or outputs that you want to share?
Ongoing dicussion at bazel-contrib/rules_go#1879
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request