cargo clean
with target
as a symlink fails
#12473
Labels
C-bug
Category: bug
Command-clean
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Problem
When
target
is a symlink,cargo clean
removes it and then tries to remove files from underneath it:Prior to 1.62, the symlink was removed and then nothing else was attempted. If it is a symlink, it should be removed last so that any other file deletions can still work.
Steps
Possible Solution(s)
No response
Notes
See also #7510 and #7527.
Version
Also tested with
rustup
from 1.53 tostable
: 1.61 is fine and 1.62 has this behavior.The text was updated successfully, but these errors were encountered: