-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Use sccache
when available
#221
Comments
Sounds like you want to set that in the environment with the appropriate path, then, right? I don't see how cargo-update needs to (or can) be involved? |
Yes, It works by setting the environment variable on each run. But its easy to forget to do that. And I dont want to do it via the global cargo config, since this would affect personal rust coding projects as well, which doesnt make sense IMO. It would be nice if i could tell cargo-update to use it. And this could allow less expericenced users to make use of it just by installing it. Though maybe it makes sense to make it opt-in by adding Also it would help a lot if there was a env vars option. These variable defined via e.g. |
@LeSnake04 [build]
rustc-wrapper = "/path/to/sccache" |
Sccache speeds up the install process by reusing existing compiled libraries.
I think it would be useful if this plugin checks whether sccache is installed and use it if available.
Using it works by setting
RUSTC_WRAPPER=sccache
.The text was updated successfully, but these errors were encountered: