Skip to content

Commit 162d8d8

Browse files
Add expected configs for unexpected_cfgs (#1787)
Adds the two expected cfg flags for Mio.
1 parent 309daae commit 162d8d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ required-features = ["os-poll", "net"]
107107
[[example]]
108108
name = "udp_server"
109109
required-features = ["os-poll", "net"]
110+
111+
[lints.rust]
112+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mio_unsupported_force_poll_poll)', 'cfg(mio_unsupported_force_waker_pipe)'] }

0 commit comments

Comments
 (0)