-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Make x clippy
download and use beta clippy
#107628
Conversation
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
x clippy
download and use beta clippy
See https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Overriding.20RUSTC_WORKSPACE_WRAPPER.20with.20RUSTC/near/325529313 for the current status - the clippy changes here aren't something we want to land as-is. |
// Use a different compiler for build scripts, since there may not yet be a | ||
// libstd for the real compiler to use. However, if Cargo is attempting to | ||
// determine the version of the compiler, the real compiler needs to be | ||
// used. Currently, these two states are differentiated based on whether | ||
// --target and -vV is/isn't passed. | ||
let (rustc, libdir) = if target.is_none() && version.is_none() { | ||
if verbose > 1 { | ||
eprintln!("Using snapshot complier"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
*compiler, same below
This comment has been minimized.
This comment has been minimized.
da58abc
to
782a20a
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #108056) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@albertlarsan68 Just want to ping you as part of the triage procedure to let you know that this PR has merge conflicts :) |
I know, I need to work more on this PR. |
1fd959a
to
c4465a5
Compare
This comment has been minimized.
This comment has been minimized.
☔ The latest upstream changes (presumably #110643) made this pull request unmergeable. Please resolve the merge conflicts. |
c4465a5
to
05ec4d2
Compare
☔ The latest upstream changes (presumably #113637) made this pull request unmergeable. Please resolve the merge conflicts. |
@albertlarsan68 |
I'll be unavailable for 1 to 2 months to work on it, so I'll mark it as blocked on me. |
x clippy thanks to `@asquared31415` `@albertlarsan68` for all their help, most of this pr is their work note that this also adds x clippy --stage 0 -Awarnings to x86_64-gnu-llvm-15 to make sure it stays working; that won't gate on any clippy warnings, just enforce that clippy doesn't give a hard error. we can't add --stage 1 until clippy fixes its debug assertions not to panic. note that `x clippy --stage 1` currently breaks when combined with download-rustc. unlike the previous prs, this doesn't require changes to clippy (it works by using RUSTC_WRAPPER instead), and supports stage 0 read this commit-by-commit closes rust-lang#107628; see also rust-lang#106394, rust-lang#97443. fixes rust-lang#95988. helps with rust-lang#76495. r? bootstrap
Take-over of #106394: see this PR for all of the context.
r? @flip1995
cc @jyn514