Use workspace lints to control unexpected_cfgs.#682
Use workspace lints to control unexpected_cfgs.#682ThierryBerger merged 2 commits intodimforge:masterfrom
Conversation
|
I've marked this as a draft as there are unexpected cfgs still that need to be resolved:
This will generate a warning from I think this replaces #638 from @Urgau To answer one of the concerns from @sebcrozet , advantages of this PR is that we get the benefit of the |
b15a847 to
937541c
Compare
|
Now that #684 has landed, I've dealt with the I've confirmed that it builds without warnings on beta builds (warnings from |
By using `workspace.lints`, we can configure lints once for everything (and then inherit it into the various crates). The lint configuration for `unexpected_cfgs` works in 1.80+ and warns otherwise.
937541c to
b47e932
Compare
|
Thanks! |
|
You're welcome! |
By using
workspace.lints, we can configure lints once for everything (and then inherit it into the various crates).The lint configuration for
unexpected_cfgsworks in 1.80+ and warns otherwise.