Commits
Click on a commit to change the comparison rangeCalculate rustc outputs concurrently with other hashing tasks
Currently, `sccache` invokes `rustc` twice for generating the hash key:
once for the inputs and env-deps (`--emit dep-info`), and another time
for the output file names (`--print file-names`).
However, the latter is invoked only after the former finishes. There is
no reason for this dependency.
Run `get_compiler_outputs` concurrently with the other `rustc` and
hashing tasks in `RustHasher::generate_hash_key`.
I initially thought that these two invocations could be merged together,
but `--print` stop compilation before the `--emit` is evaluated, so I
went with the simpler approach of just running them at the same time.3 months ago
by DaniPopes