Skip to content

Promote coverage_common.instrumented_files_info.coverage_support_files to a public API #18697

@UebelAndre

Description

@UebelAndre

Description of the feature request:

Could coverage_common.instrumented_files_info.coverage_support_files be promoted to a public API?

What underlying problem are you trying to solve with this feature?

Trying to get coverage working in rules_rust lead to the discovery of coverage_common.instrumented_files_info.coverage_support_files which I wanted to use to add llvm-cov and llvm-profdata to the coverage post-processing action but couldn't because it was a private API. I don't think these binaries should be runfiles of the test binary being defined in the rule, instead, I'd like to some how add them only to actions that will be running coverage. This field seems appropriate since the tools are indeed support files.

Which operating system are you running Bazel on?

Linux, MacOS

What is the output of bazel info release?

release 6.2.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

https://bazelbuild.slack.com/archives/CA31HN1T3/p1686230133034699 is the slack conversation that spawned this request.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions