Please add a cc_inputs attribute to *c_library rules #10107
Labels
P2
We'll consider working on this in future. (Assignee optional)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Rules-CPP
Issues for C++ rules
type: feature request
rules_swift's swift_library rule, includes a swiftc_inputs attribute that allows it to pass additional inputs to the invocation of the
swiftc
compiler. It would be really handy ifobjc_library()
,cc_library()
, etc also had this attribute.The specific use case that I'm thinking of is passing around the module map in cases where it's needed to support
@import
statements in Objective-C. Currently I'm passing it as a header but this feels hacky.The text was updated successfully, but these errors were encountered: