-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Enable building clippy in CI #45177
Enable building clippy in CI #45177
Conversation
@bors: r+ 👍 |
📌 Commit 8e900aa has been approved by |
We should also ask folks to ping you/me/llogiq for clippy and you/scott for miri in the document? That way we can keep an eye out and help. |
src/tools/toolstate.toml
Outdated
@@ -26,7 +26,7 @@ | |||
miri = "Broken" | |||
|
|||
# ping @Manishearth @llogiq @mcarton @oli-obk | |||
clippy = "Broken" | |||
clippy = "Building" |
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.
This seems to break CI:
[00:02:42] failed to parse TOML configuration 'toolstate.toml': unknown variant `Building`, expected one of `Compiling`, `Testing`, `Broken` for key `clippy`
[00:02:42] failed to run: /checkout/obj/build/bootstrap/debug/bootstrap build nonexistent/path/to/trigger/cargo/metadata
[00:02:42] Build completed unsuccessfully in 0:01:16
[00:02:42] Makefile:79: recipe for target 'prepare' failed
[00:02:42] make: *** [prepare] Error 1
[00:02:42] Command failed. Attempt 2/5:
[00:02:42] Finished dev [unoptimized] target(s) in 0.0 secs
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.
Darn it... last minute changes are never a good idea... sorry about that. I also fixed the wrong docs on the top of the file
@Manishearth the pinging is already suggested in toolstate.toml |
@bors: r+ |
📌 Commit c6c47fa has been approved by |
Enable building clippy in CI r? @alexcrichton As discussed at Rustfest. Measured additional time is 4 minutes on my machine if no dependencies are shared with other tools. In reality most dependencies are shared (especially the slow to compile ones like serde). cc @Manishearth Does not run clippy's test suite, since a) it is nontrivial in the rustc build system b) it breaks more frequently but the breakage is negligible If clippy breaks, the procedure to follow is documented under https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#external-dependencies
☀️ Test successful - status-appveyor, status-travis |
r? @alexcrichton
As discussed at Rustfest. Measured additional time is 4 minutes on my machine if no dependencies are shared with other tools. In reality most dependencies are shared (especially the slow to compile ones like serde).
cc @Manishearth
Does not run clippy's test suite, since
a) it is nontrivial in the rustc build system
b) it breaks more frequently but the breakage is negligible
If clippy breaks, the procedure to follow is documented under https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#external-dependencies