-
Notifications
You must be signed in to change notification settings - Fork 551
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
support rls and clippy #423
Comments
What would you expect sccache to do in this scenario? AFAIK rls and clippy aren't performing actual compilation so there isn't likely to be any benefit from caching the executions. |
rls calls rustc and dumps its compilation output into I was trying to play around with the code and make it accept "clippy-driver rustc" as a valid "compiler" but to no avail. |
I'm not sure about clippy but as for rls, I think it does benefit from having |
As a workaround for clippy, it's possible to run check before as both use the same (rustc managed-)cache. On some project of mine, running clippy directly takes ~4m10s, but running |
It's possible this was fixed by #441 |
Similar discussion: #539 |
It would be great if sccache supported clippy and rls calls as well.
I tried something like
RUSTC_WRAPPER="sccache clippy-driver rustc"
but that didn't work out.The text was updated successfully, but these errors were encountered: