-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Assertion error when clean is combined with -p flag. #8149
Comments
Thanks for the report. I can't quite figure out a way to reproduce this. Is this in a public repo that I can look at? If not, do you think you could create a reproduction? |
@ehuss I have invited you to the repository. You can see how the code is being invoked in the |
Thanks @tkaitchuck! I see the problem, it is embarrassingly easy to hit (
|
Workaround for cargo clean bug rust-lang/cargo#8149 Signed-off-by: Sandeep <sandeep.shridhar@emc.com>
Problem
In cargo 1.43.0 (3532cf7 2020-03-17) but not in 1.42 the following assertion can be triggered when running
cargo clean -p my-package
:Steps
cargo clean -p package-name
where "package-name" is a valid package name to be cleaned.Notes
cargo clean
without the-p
flag works fine.Output of
cargo version
:cargo 1.43.0 (3532cf7 2020-03-17)
This is running on x86_64 GNU/Linux .
The text was updated successfully, but these errors were encountered: