You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calculate 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.
0 commit comments