-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
Cleanup profraw files + --no-clean
#292
Comments
Sounds reasonable to me. |
Do incremental builds actually work? $ cargo llvm-cov show-env
...
CARGO_INCREMENTAL="0"
... Im curious why it has to be disabled? |
@TroyKomodo CARGO_INCREMENTAL=0 was needed at some point in the past, but may no longer be needed with the cleanup in 0.1.5. |
I really like the
--no-clean
flag since it makes incremental re-run of tests much faster. However, it eventually gets slower and slower since there are tons of profraw files generated.In practice, I found that running
rm -f target/llvm-cov-target/*.profraw
before allvm-cov
run with--no-clean
flag has the best of both world: thetarget/llvm-cov-target
won't blow up in size, and we still get all the incremental runs' benefit.Could this be added as a builtin flag so I don't have to write a custom script to do this?
The text was updated successfully, but these errors were encountered: