Skip to content

Update cargo-llvm-lines version and CI checks #1030

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

Merged

Conversation

tgnottingham
Copy link
Contributor

An issue has been fixed in cargo-llvm-lines 0.4.12 which would cause
us to fail whenever profiling a crate which had any crate dependencies.
Update to 0.4.12 and add a CI check that profiles a crate with
dependencies to exercise this case.

The issue was that we would invoke a particular cargo executable and
cargo-llvm-lines would invoke a different one. This would cause us to
try to build the crate's dependencies a second time with the different
cargo. The EXPECT_ONLY_WRAPPED_RUSTC check would detect this case
and produce an error.

An issue has been fixed in `cargo-llvm-lines` 0.4.12 which would cause
us to fail whenever profiling a crate which had any crate dependencies.
Update to 0.4.12 and add a CI check that profiles a crate with
dependencies to exercise this case.

The issue was that we would invoke a particular `cargo` executable and
`cargo-llvm-lines` would invoke a different one. This would cause us to
try to build the crate's dependencies a second time with the different
`cargo`. The `EXPECT_ONLY_WRAPPED_RUSTC` check would detect this case
and produce an error.
@Mark-Simulacrum Mark-Simulacrum merged commit 7374a43 into rust-lang:master Sep 25, 2021
@tgnottingham tgnottingham deleted the update-cargo-llvm-lines branch September 25, 2021 17:16
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.

2 participants