File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
src/uu/stdbuf/src/libstdbuf Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -617,9 +617,12 @@ workspace = true
617617# This is the linting configuration for all crates.
618618# In order to use these, all crates have `[lints] workspace = true` section.
619619[workspace .lints .rust ]
620- # Allow "fuzzing" as a "cfg" condition name
620+ # Allow "fuzzing" as a "cfg" condition name and "cygwin" as a value for "target_os"
621621# https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html
622- unexpected_cfgs = { level = " warn" , check-cfg = [' cfg(fuzzing)' ] }
622+ unexpected_cfgs = { level = " warn" , check-cfg = [
623+ ' cfg(fuzzing)' ,
624+ ' cfg(target_os, values("cygwin"))' ,
625+ ] }
623626# unused_qualifications = "warn" // TODO: fix warnings in uucore, then re-enable this lint
624627
625628[workspace .lints .clippy ]
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ keywords.workspace = true
1010categories.workspace = true
1111edition.workspace = true
1212
13+ [lints ]
14+ workspace = true
15+
1316[lib ]
1417name = " stdbuf"
1518path = " src/libstdbuf.rs"
You can’t perform that action at this time.
0 commit comments