Closed
Description
I outlined a plan for this in a cargo issue.
The big items here are:
- make sccache able to detect rustc as a compiler
- Write a hash function for rustc compiler invocations that uses the things listed in that plan as input. We'll need to refactor the cache lookup code slightly since it currently expects to run a preprocessor and hash that output. We will probably want to make the "generate a hash key" bit generic per-compiler, and then provide a default implementation that does what we currently do for C++ compilers, and a separate implementation for rustc.
Metadata
Metadata
Assignees
Labels
No labels