-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set CARGO
instead of PATH
#123227
Comments
@rustbot claim |
There's more weird stuff going on here... rust/src/bootstrap/src/core/builder.rs Lines 1251 to 1252 in 4797fba
On Windows, This almost looks like it may want to call |
Yep, sorry, absolutely no clue what that code is meant to do. It's very likely that I copied that from somewhere else during the initial stages of "try everything and see if any of it works", or copied some part of that, and eventually modified to set I will try to check my messages with jyn, who i was talking to a lot about this at the time, and trying many things at their suggestion, to see if I can find any useful history. |
…, r=onur-ozkan Set `CARGO` instead of `PATH` for Rust Clippy Resolves rust-lang#123227 Previously, clippy was using `cargo` from `PATH`, but since [PR](rust-lang/rust-clippy#11944), it now prioritises checking `CARGO` first.
Rollup merge of rust-lang#123386 - Rajveer100:branch-for-issue-123227, r=onur-ozkan Set `CARGO` instead of `PATH` for Rust Clippy Resolves rust-lang#123227 Previously, clippy was using `cargo` from `PATH`, but since [PR](rust-lang/rust-clippy#11944), it now prioritises checking `CARGO` first.
Previously, clippy was using
cargo
fromPATH
, but since rust-lang/rust-clippy#11944, it now prioritizes checkingCARGO
first. We can now setcargo
path intoCARGO
and avoid appending it to thePATH
chain.In the bootstrap, we have this piece of code
rust/src/bootstrap/src/core/builder.rs
Lines 1220 to 1226 in 7f1d08e
cargo
intoPATH
. As indicated by the FIXME note, rust-lang/rust-clippy#11944 wasn't merged at the time. Now that we can do so, setCARGO
instead ofPATH
and remove the FIXME note.The text was updated successfully, but these errors were encountered: