Skip to content

Commit

Permalink
Add expected configs for unexpected_cfgs (#1787)
Browse files Browse the repository at this point in the history
Adds the two expected cfg flags for Mio.
  • Loading branch information
Thomasdezeeuw authored May 26, 2024
1 parent 309daae commit 162d8d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,6 @@ required-features = ["os-poll", "net"]
[[example]]
name = "udp_server"
required-features = ["os-poll", "net"]

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mio_unsupported_force_poll_poll)', 'cfg(mio_unsupported_force_waker_pipe)'] }

0 comments on commit 162d8d8

Please sign in to comment.