Skip to content

Separate debug/release dependency directories #4132

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
mqudsi opened this issue Jun 7, 2017 · 2 comments
Closed

Separate debug/release dependency directories #4132

mqudsi opened this issue Jun 7, 2017 · 2 comments

Comments

@mqudsi
Copy link

mqudsi commented Jun 7, 2017

While there are requests (#1359, #1596) to allow for the optimization of dependencies, a suggestion to curb dev times would be to cache the results of dependency builds for debug/release separately, so that switching between cargo build and cargo build --release does not require a full rebuild of all dependencies, only the changed rs source files in question.

@alexcrichton
Copy link
Member

This should currently be the case (target/debug and target/release), but is that not working for you?

@mqudsi
Copy link
Author

mqudsi commented Jun 7, 2017

I'm sorry, I've been avoiding switching between them like the plague since I started using rust for this reason; it seems that it has indeed been resolved some time ago and I never dared to try it and find out :)

@mqudsi mqudsi closed this as completed Jun 7, 2017
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

2 participants