mirror of https://github.com/lukechilds/cc-rs.git
Browse Source
* 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 #473master
committed by
GitHub
2 changed files with 41 additions and 6 deletions
Loading…
Reference in new issue