Hacker News new | ask | show | jobs
by indiv0 394 days ago
We just set all the lints to `warn` by default then `RUSTFLAGS="--deny warnings"` when building for release (or in CI).
1 comments

Yeah that is nice too, and that should also skip all the test code. I think all the clippy warnings on tests for unwrapping and such when working locally would bug me though. And at least the eglot LSP client tends to get bogged down when there are more than a thousand or so clippy warnings/errors, I have found.