-
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
CARGO_TARGET_DIR spreads out files in many directories #14310
Comments
soloturn
added
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
labels
Jul 26, 2024
Cargo has two many locations it operates with
The global cache is what lets us not re-download dependencies again and again (see #14278). We could reuse intermediate build artifacts between projects but its rare and we need more bookkeeping to handle this. See #5931 As this is expected behavior, I'm going to go ahead and close. If there is a reason we need to keep this open, let us know! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
when compiling COSMIC desktop the build is very slow, as it compiles components again. cargo distributes files into a number of directories, despite setting CARGO_TARGET_DIR, and it creates an impressive number of files, just for sendfd/lib.rs :
i would have expected AlL files end up in ./tmp/mytarget, and compile results will be reused when compiling next component. it is not so. what am i missing?
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
No response
The text was updated successfully, but these errors were encountered: