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

Fix show-env subcommand bug #121

Merged
merged 1 commit into from
Jan 6, 2022
Merged

Fix show-env subcommand bug #121

merged 1 commit into from
Jan 6, 2022

Conversation

taiki-e
Copy link
Owner

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

This fixes the problem that the readme example does not work.
This probably fixes the remaining problem reported in #115.

cc #93
cc @davidhewitt

Comment on lines 306 to 309
```sh
cargo llvm-cov clean --workspace # remove artifacts that may affect the coverage results
source <(cargo llvm-cov show-env --export-prefix)
cargo llvm-cov clean --workspace # remove artifacts that may affect the coverage results
cargo build # build rust binaries
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order is important because cargo llvm-cov clean --workspace needs to refer to the CARGO_LLVM_COV_TARGET_DIR set by show-env.

@taiki-e
Copy link
Owner Author

taiki-e commented Jan 6, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 6, 2022

Build succeeded:

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.

None yet

1 participant