Open jyn514 opened 4 years ago
I think part of the problem is that the search index would be broken since it would contain references to the now missing package.
🤷 that seems like a reasonable tradeoff if the user explicitly opted-in to removing the documentation. This isn't specific to the search index, there could also be links in the downstream docs that are now broken.
Hello, because you may be busy, do not have time to do such simple things. I'm getting familiar with the cargo source code, which is interesting to me. Does this issue need to be fixed? Or have you guys not figured it out yet?
I think it would probably be fine to support this. I still think it could be confusing since things like the index won't be updated, but I also don't expect this to be needed too often.
@rustbot claim
Problem
cargo clean -p package
should removetarget/doc/package
, but does not.Steps
Possible Solution(s)
Notes
Output of
cargo version
:cargo 1.47.0 (f3c7e066a 2020-08-28), but the bug is also present in
cargo 1.48.0-nightly (9d1a4863a 2020-10-05)
.