Skip to content

Support .cargo/config in project directory #109

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
andybarron opened this issue Nov 3, 2016 · 4 comments
Closed

Support .cargo/config in project directory #109

andybarron opened this issue Nov 3, 2016 · 4 comments

Comments

@andybarron
Copy link

I have a .cargo/config that enables incremental compilation. AFAICT, this is ignored when building from Sublime.

@andybarron
Copy link
Author

Quick update: It looks like it actually did work, but since I enabled -Zincremental=.cache and worked on a file in the src/ directory, it created src/.cache rather than .cache in crate root. So maybe cargo is called from the wrong working directory?

@jasonwilliams
Copy link
Member

jasonwilliams commented Nov 3, 2016

@andybarron from what i can see, cargo is called from the file you run build from.
So this should be the same as going to that directory in the command line and running cargo build
@dten ?

@andybarron
Copy link
Author

Yes. I think there is additional value to building from the crate root; I would imagine that more complex project configuration options would use paths relative to the root. Such projects would break when building from Sublime!

@jasonwilliams
Copy link
Member

@andybarron do you have this project on github anywhere so we can try it?

@ehuss ehuss mentioned this issue Mar 21, 2017
24 tasks
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