Skip to content
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 --no-clean flag #214

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Add --no-clean flag #214

merged 1 commit into from
Sep 6, 2022

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Sep 6, 2022

cargo-llvm-cov cleans some build artifacts by default to avoid false positives/false negatives due to old build artifacts.
This behavior is disabled when --no-clean, --no-report, or --no-run is passed, and old build artifacts are retained.
When using these flags, it is recommended to first run cargo llvm-cov clean --workspace to remove artifacts that may affect the coverage results.

cargo llvm-cov clean --workspace # remove artifacts that may affect the coverage results
cargo llvm-cov --no-clean

Closes #198 (In the long term I want to remove the need for these clean, but it is not easy.)

@taiki-e taiki-e added this to the v0.5 milestone Sep 6, 2022
@taiki-e
Copy link
Owner Author

taiki-e commented Sep 6, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 6, 2022

Build succeeded:

@bors bors bot merged commit aa3556a into main Sep 6, 2022
@bors bors bot deleted the no-clean branch September 6, 2022 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recompiles workspace crates every time
1 participant