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

"cargo clean --verbose" prints nothing #5056

Closed
matthiaskrgr opened this issue Feb 19, 2018 · 3 comments
Closed

"cargo clean --verbose" prints nothing #5056

matthiaskrgr opened this issue Feb 19, 2018 · 3 comments
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`

Comments

@matthiaskrgr
Copy link
Member

Something like "Removing /path/to/proj/dir/target" might be appropriate in my opinion.

@tobywhughes
Copy link
Contributor

Looks like clean just calls a method to remove the individual directories (usually just /target). Should be easy to add. I'll do that.

@alexcrichton alexcrichton added the C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` label Feb 20, 2018
bors added a commit that referenced this issue Feb 27, 2018
Clean with --verbose now prints path of what is being removed.

Added verbose output for the clean command. Simply takes whatever is passed into the rm_rf() function and outputs "Removing /whatever/the/path/to/remove/is"

[Issue this is being used for](#5056)
@DarkDrek
Copy link
Contributor

This seems to be fixed so issue can be closed.

@matthiaskrgr
Copy link
Member Author

Ah, indeed! Closing...

For the record:

$ cargo clean -v
    Removing /tmp/rusttest/target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Projects
None yet
Development

No branches or pull requests

4 participants