taiki-e / cargo-llvm-cov

Cargo subcommand to easily use LLVM source-based code coverage (-C instrument-coverage).
Apache License 2.0
920 stars 57 forks source link

Inject metadata into the llvm-cov JSON output #289

Closed dnaka91 closed 1 year ago

dnaka91 commented 1 year ago

As discussed in #285, this injects some metadata into the JSON output of llvm-cov. This can be helpful for tools that rely on the output of it and cargo-llvm-cov as well.

It adds in the following fields under a new cargo_llvm_cov field in the root JSON structure:

Fixes #285

taiki-e commented 1 year ago

LGTM. Could you resolve the merge conflict?

dnaka91 commented 1 year ago

Done. Just ping me in case any conflict comes up again :bowing_man:

taiki-e commented 1 year ago

Thanks! Published in 0.5.23.