Skip to content

CcSkylarkApiProvider does not expose alwayslink libraries #7033

@steeve

Description

@steeve

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

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)team-Rules-CPPIssues for C++ rulestype: feature request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions