-
Notifications
You must be signed in to change notification settings - Fork 295
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
Source-based code coverage in nightly #725
Conversation
lgtm |
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!
Can we get this published? @Mark-Simulacrum |
Hm, sure -- did llvm-cov already hit nightlies? I think the answer is probably yes, rust-lang/rust#78947 landed 20 hours ago... |
If you want to bump the date to Nov 12th then I can merge. |
Hmm, I just checked and I'm not seeing |
Ok, seems like we should wait till the next nightly or fix that before publishing? Otherwise most people can't make easy use of it, right? (If that's the wrong impression then we can merge now) |
Possibly. You can also install it directly which should work just as well. I think the guide covers this. |
Okay, I'm happy to merge with the date bumped then. |
Done! |
Are there any known incompatibilities or problems that would stop from obtaining code coverage from the test binary that is built like
|
What happens when you try it? If it's not working for you, the way you expect it should, can you file a new issue and include what the failures are? Thank you! |
# Trying it out | ||
|
||
Work on the implementation [began back in April][MCP], and [many PRs | ||
later][PRs], it’s ready for you to try. All you need is a recent nightly and |
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.
It would be helpful if you said exactly what nightly is needed, instead of saying "recent nightly". Running rustup update nightly
isn't enough to guarantee that a user will have the correct nightly, because rustup will skip recently nightly releases if they're missing components (like miri)
cc @wesleywiser @richkadel