We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a1a202 commit 0df0b85Copy full SHA for 0df0b85
src/bootstrap/src/core/builder.rs
@@ -1155,6 +1155,7 @@ impl<'a> Builder<'a> {
1155
pub fn cargo_clippy_cmd(&self, run_compiler: Compiler) -> Command {
1156
let initial_sysroot_bin = self.initial_rustc.parent().unwrap();
1157
// Set PATH to include the sysroot bin dir so clippy can find cargo.
1158
+ // FIXME: once rust-clippy#11944 lands on beta, set `CARGO` directly instead.
1159
let path = t!(env::join_paths(
1160
// The sysroot comes first in PATH to avoid using rustup's cargo.
1161
std::iter::once(PathBuf::from(initial_sysroot_bin))
0 commit comments