Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use RUSTC_WRAPPER if no other wrapper is provided (#918)
* Use RUSTC_WRAPPER if no other wrapper is provided Previously, the `rustc_wrapper_fallback` was only called if the tool was **not** a full path. With this patch, the `RUSTC_WRAPPER` is always used, even if the tool provided is an exact path. Providing a wrapper manually is still possible and overrides the `RUSTC_WRAPPER`. If the path to the tool includes spaces it is otherwise impossible to provide a compiler cache like sccache through the CXX or CC environment variables, as the arguments will be split up incorrectly. See also: corrosion-rs/corrosion#474 * Add #[allow(dead_code)] to ArchSpec::Catalyst This should suppress new warnings generated by the nightly toolchain.
- Loading branch information