-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support code-coverage #63
Comments
I am successfully using |
Failed with I use |
I can reproduce this problem with the default bin crate.
My rustc is
@Amanieu I'm very curious to know what you're doing that makes this work. |
I looked into this: the reason it works for me is that I use |
-Zinstrument-coverage
and -Z build-std
Reported first in rust-lang/rust#79401
I tried this code:
I expected to see this happen:
Compilation succeeds
Instead, this happened:
Compilation failed with
and many more errors about other duplicate items
Meta
This is part of rust-lang/rust#34701 cc @richkadel
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: