Skip to content
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

x.py clippy no longer works? #96826

Closed
matthiaskrgr opened this issue May 7, 2022 · 4 comments · Fixed by #96829
Closed

x.py clippy no longer works? #96826

matthiaskrgr opened this issue May 7, 2022 · 4 comments · Fixed by #96829
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented May 7, 2022

I used to be able to x.py check ; x.py clippy but clippy no longer displays any warning? 😕

at 22:58:42 ❯ ./x.py clippy
Updating only changed submodules
  Submodules updated in 0.01 seconds
Building rustbuild
    Finished dev [unoptimized] target(s) in 0.20s
Build completed successfully in 0:00:00
@matthiaskrgr matthiaskrgr added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels May 7, 2022
@Mark-Simulacrum
Copy link
Member

cc @jyn514

Might be related to https://github.com/rust-lang/rust/pull/96003/files#diff-6e3c7e8b58a9a198adc885bced48fff2c5fd9a1ee126ccce52166476a536807fR631 -- but that seems like an older change that would've probably been noticed by now.

@Mark-Simulacrum
Copy link
Member

Yeah, I suspect Clippy and Fix should not have been moved to the dummy no-op block there. I'm not seeing special handling for them other than in check.rs, so it seems reasonable to assume they should be threaded into the check steps.

@matthiaskrgr
Copy link
Member Author

can confirm that #96003 broke it :/

@Mark-Simulacrum
Copy link
Member

Happy to r+ a PR fixing this - I think it should be a matter of moving the Clippy and Fix kinds back to the check arm of that match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants