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
tarpaulin causes ICE if used with proptest #161
Comments
Thanks for letting me know 👍 |
I found a workaround that allows using tarpaulin with proptest even with this compiler bug present. It uses a small wrapper script which removes the This is not very elegant, but property based testing + coverage is just too useful to wait for the ICE to get fixed :) |
Thanks for the script! Wouldn't that be a good thing to include in tarpaulin for the time being? Maybe this could be put directly into the tool to workaround this problem. What do you think @xd009642? |
I'm not sure about including it in tarpaulin, removing However, there is another issue caused by |
My script does not remove I'm not sure if mixing crates with different At least within a crate dead code elimination is very aggressive, so |
This issue seems to have been solved as of |
Awesome, I'll keep this issue open until it makes it into stable then close it |
I know that this is definitely a Rust compiler error but I just wanted to make you aware of this fact. It's a problem that apparently also hits cargo-kcov but it didn't test that. The issue is tracked here: rust-lang/rust#52478
Perhaps if you have any idea what's going on you can help track it down in rustc, that'd be nice. :)
The text was updated successfully, but these errors were encountered: