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
Detect and use sccache by introspecting RUSTC_WRAPPER (#475)
* Detect and use `sccache` via `RUSTC_WRAPPER`
If no other C/C++ caching tool is found by inspecting `CC` and `CXX`,
`RUSTC_WRAPPER` is tested to see if an output-caching wrapper for
`rustc` is in use. If that is the case and it is a wrapper known to also
support C/C++ caching, use it.
(Also correct/clarify a misnamed variable that caused me some confusion
looking over the code.)
* Support RUSTC_WRAPPER on Windows and with absolute paths
When checking for possible `RUSTC_WRAPPER`s that we can use to cache
C/C++ output, allow for filename extensions (e.g. `sccache.exe`) and
absolute paths (e.g. `/usr/local/bin/sccache`).
Closes#473
0 commit comments