-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rust-cov / cargo-cov for llvm-cov #97
Conversation
Rust now includes `llvm-cov`, which is used in combination with `llvm-profdata` to generate coverage reports from the `.profraw` files now generated by Rust binaries compiled with `-Z instrument-coverage`.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @reitermarkus (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much!
Would you minding adding an entry to CHANGELOG.md?
Could also use a usage example for the README but that is optional. 😅 |
I realized I need to update the crate version, and yes, added a CHANGELOG entry. Hope it's OK if I don't update README for now? No pressure, but just wondering, when might you be able to push this update to crates.io? (I'm updating related documentation.) Thanks! |
Aggressively pushing for a release. I like your style. 😬 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
bors r+
97: Add rust-cov / cargo-cov for llvm-cov r=therealprof a=richkadel Rust now includes `llvm-cov`, which is used in combination with `llvm-profdata` to generate coverage reports from the `.profraw` files now generated by Rust binaries compiled with `-Z instrument-coverage`. Co-authored-by: Rich Kadel <richkadel@google.com>
bors r- |
Canceled. |
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/). | |||
|
|||
## [Unreleased] | |||
|
|||
## [v0.3.3] - 2020-11-17 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing the v0.3.3 change link at the bottom of the CHANGELOG.md for the release.
Sorry for missing that earlier.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, didn't see that, but I'll fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's see whether I can still approve after the edit.
bors r+
https://crates.io/crates/cargo-binutils Released. 🎉 |
woohoo! It already works for me after re-running Thanks for the really fast response! |
Rust now includes
llvm-cov
, which is used in combination withllvm-profdata
to generate coverage reports from the.profraw
filesnow generated by Rust binaries compiled with
-Z instrument-coverage
.