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

Changing CLI flags does not invalidate previous runs #5199

Closed
nagisa opened this issue Feb 19, 2020 · 2 comments
Closed

Changing CLI flags does not invalidate previous runs #5199

nagisa opened this issue Feb 19, 2020 · 2 comments

Comments

@nagisa
Copy link
Member

nagisa commented Feb 19, 2020

Changing the CLI flags passed to clippy will not make clippy re-run the affected lints on crates. In particular running

cargo clippy

may reveal a number of warnings that one might want to immediately deny before fixing, so they would change their CI script to invoke

cargo clippy -- -Dclippy::some_lint

but upon rerunning the CI script cargo clippy will just dump the old warnings from previous run.

@matthiaskrgr
Copy link
Member

Looks like a duplicate of rust-lang/cargo#7862 ?

@nagisa
Copy link
Member Author

nagisa commented Feb 19, 2020

I guess?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants