about summary refs log tree commit diff
path: root/compiler/rustc_incremental/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-06 11:31:18 +0000
committerbors <bors@rust-lang.org>2020-11-06 11:31:18 +0000
commitdc06a36074f04c6a77b5834f2950011d49607898 (patch)
tree8b371c342eb49e1b48d5c104e6c0ba013952f025 /compiler/rustc_incremental/src
parent8532e742fc6ec210fab69b8192190bc40c685912 (diff)
parent8d2fa72fc8064e7800e9d2a6512fa7eb302e8d8d (diff)
downloadrust-dc06a36074f04c6a77b5834f2950011d49607898.tar.gz
rust-dc06a36074f04c6a77b5834f2950011d49607898.zip
Auto merge of #77351 - jyn514:clippy-sysroot, r=Mark-Simulacrum
Fix `x.py clippy`

I don't think this ever worked.

Fixes https://github.com/rust-lang/rust/issues/77309. `--fix` support is a work in progress, but works for a very small subset of `libtest`.

This works by using the host `cargo-clippy` driver; it does not use `stage0.txt` at all. To mitigate confusion from this, it gives an error if you don't have `rustc +nightly` as the default rustc in `$PATH`. Additionally, it means that bootstrap can't set `RUSTC`; this makes it no longer possible for clippy to detect the sysroot itself. Instead, bootstrap passes the sysroot to cargo.

r? `@ghost`
Diffstat (limited to 'compiler/rustc_incremental/src')
0 files changed, 0 insertions, 0 deletions