Commit 4d36cfa
Leon Matthes
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.1 parent 8cf5455 commit 4d36cfa
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2380 | 2380 | | |
2381 | 2381 | | |
2382 | 2382 | | |
| 2383 | + | |
2383 | 2384 | | |
2384 | 2385 | | |
2385 | 2386 | | |
| |||
2761 | 2762 | | |
2762 | 2763 | | |
2763 | 2764 | | |
2764 | | - | |
| 2765 | + | |
| 2766 | + | |
| 2767 | + | |
| 2768 | + | |
| 2769 | + | |
2765 | 2770 | | |
2766 | 2771 | | |
2767 | 2772 | | |
| |||
0 commit comments