]> git.lizzy.rs Git - rust.git/commit
Set the proper sysroot for clippy
authorJoshua Nelson <jyn514@gmail.com>
Tue, 29 Sep 2020 23:46:32 +0000 (19:46 -0400)
committerJoshua Nelson <jyn514@gmail.com>
Mon, 26 Oct 2020 22:56:55 +0000 (18:56 -0400)
commitb3246e0cb10a6a32e8f652312985d36581f77c19
tree26360f5241d09a231e85581c7f19ebf68f6aad0b
parent0da6d42f297642a60f2640ec313b879b376b9ad8
Set the proper sysroot for clippy

Clippy does its own runtime detection of the sysroot, which was
incorrect in this case (it used the beta sysroot). This overrides the
sysroot to use `stage0-sysroot` instead.

- Get `x.py clippy` to work on nightly
- Give a nice error message if nightly clippy isn't installed
src/bootstrap/builder.rs