Conversation
28a6eb9 to
a73c6f2
Compare
a73c6f2 to
4d080e2
Compare
|
I don't think is the way to solve it. We probably we want to add |
40f8cdd to
6bce89e
Compare
|
I meant remove all the CI setup stuff, just |
|
You probably need |
6bce89e to
53654b9
Compare
|
Heads up, with the release of rust-lang/cargo#13913 (in nightly-2024-05-19), there is no longer any need for the kind of workarounds employed in this PR. Cargo has now gain the ability to declare
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(foo)'] }
Footnotes
|
|
Closing in favour of #1787, which adds the two expected cfgs instead of ignore the lint (since I think it's quite useful for Mio). |
See e.g. https://github.com/tokio-rs/mio/actions/runs/8986077701/job/24682502223 due to rust-lang/cargo#13571