Skip to content

build files from before rustup update are not deleted. #5194

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

Closed
rukai opened this issue Mar 16, 2018 · 5 comments
Closed

build files from before rustup update are not deleted. #5194

rukai opened this issue Mar 16, 2018 · 5 comments

Comments

@rukai
Copy link
Contributor

rukai commented Mar 16, 2018

Dont know if this is a rust or cargo issue, it also sounds like something that would have an issue already but couldnt find it so here goes.

There seems to be build files that do not get deleted when I compile with a newer version of rust.
This led to a 20GB target/ folder.
After deleting the target/ folder and rebuilding, the target/ folder is now 1.7GB (incremental compilation, both release and debug)

@Mark-Simulacrum
Copy link
Member

Cc @michaelwoerister

@alexcrichton
Copy link
Member

Yes Cargo does not currently clean up old compilers (but rather it's a feature that it caches artifacts for multiple compilers), so cleaning these out with frequently updating nightlies is an end-user responsibility currently.

@ehuss
Copy link
Contributor

ehuss commented Mar 16, 2018

See also #5026.

@stale
Copy link

stale bot commented Sep 15, 2018

As there hasn't been any activity here in over 180 days I've marked this as stale and if no further activity happens for 7 days I'll will close it.

I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect?

The team would be especially grateful if such a comment included details such as:

  • Is this still relevant?
  • If so, what is blocking it?
  • Is it known what could be done to help move this forward?

Thank you for contributing!

If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable!

@stale stale bot added stale and removed stale labels Sep 15, 2018
@dwijnand dwijnand added the stale label Sep 15, 2018
@dwijnand
Copy link
Member

Looks to me as..

Duplicate of #5026

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

No branches or pull requests

5 participants