Closed
Description
I hacked this together when I implemented it originally (#77351) and it breaks quite frequently because it uses the host toolchain instead of being managed by bootstrap.
I think ideally the fix would look something like:
- Download clippy for the bootstrap toolchain in
bootstrap.py
(look foradd_component
) - Remove all this hacky code running rustc --version; treat it just the same as --cfg=bootstrap for
build
andcheck
. - Either put a
todo!()
for stages other than 0, or buildtool::Clippy
in-tree before running them, rather than the host clippy.
Originally posted by @jyn514 in #95766 (comment)