Skip to content

Commit

Permalink
Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Sep 6, 2024
1 parent a787a85 commit be87642
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,22 @@ members = [
"literals",
"restricted-text",
]

[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(bench)',
'cfg(read_initializer)',
'cfg(can_vector)',
'cfg(clamp)',
'cfg(extend_one)',
'cfg(pattern)',
'cfg(seek_stream_len)',
'cfg(shrink_to)',
'cfg(toowned_clone_into)',
'cfg(try_reserve)',
'cfg(unix_socket_peek)',
'cfg(windows_by_handle)',
'cfg(write_all_vectored)',
'cfg(windows_file_type_ext)',
]

0 comments on commit be87642

Please sign in to comment.