Closed
Description
Previously, clippy was using cargo
from PATH
, but since rust-lang/rust-clippy#11944, it now prioritizes checking CARGO
first. We can now set cargo
path into CARGO
and avoid appending it to the PATH
chain.
In the bootstrap, we have this piece of code
rust/src/bootstrap/src/core/builder.rs
Lines 1220 to 1226 in 7f1d08e
cargo
into PATH
. As indicated by the FIXME note, rust-lang/rust-clippy#11944 wasn't merged at the time. Now that we can do so, set CARGO
instead of PATH
and remove the FIXME note.