@@ -78,7 +78,16 @@ impl Krate {
78
78
let all_output = std:: process:: Command :: new ( cargo_clippy_path)
79
79
// lint warnings will look like this:
80
80
// src/cargo/ops/cargo_compile.rs:127:35: warning: usage of `FromIterator::from_iter`
81
- . args ( & [ "--" , "--message-format=short" , "--" , "--cap-lints=warn" ] )
81
+ . args ( & [
82
+ "--" ,
83
+ "--message-format=short" ,
84
+ "--" ,
85
+ "--cap-lints=warn" ,
86
+ /* "--",
87
+ "-Wclippy::pedantic",
88
+ "--",
89
+ "-Wclippy::cargo", */
90
+ ] )
82
91
. current_dir ( & self . path )
83
92
. output ( )
84
93
. unwrap ( ) ;
@@ -121,7 +130,28 @@ pub fn run() {
121
130
let cargo_clippy_path: PathBuf = PathBuf :: from ( "target/debug/cargo-clippy" ) ;
122
131
123
132
// crates we want to check:
124
- let krates: Vec < KrateSource > = vec ! [ KrateSource :: new( "regex" , "1.4.2" ) , KrateSource :: new( "cargo" , "0.49.0" ) ] ;
133
+ let krates: Vec < KrateSource > = vec ! [
134
+ // some of these are form cargotest
135
+ KrateSource :: new( "cargo" , "0.49.0" ) ,
136
+ KrateSource :: new( "iron" , "0.6.1" ) ,
137
+ KrateSource :: new( "ripgrep" , "12.1.1" ) ,
138
+ KrateSource :: new( "tokei" , "12.0.4" ) ,
139
+ KrateSource :: new( "xsv" , "0.13.0" ) ,
140
+ KrateSource :: new( "serde" , "1.0.118" ) ,
141
+ KrateSource :: new( "rayon" , "1.5.0" ) ,
142
+ // top 10 crates.io dls
143
+ KrateSource :: new( "rand" , "0.7.3" ) ,
144
+ KrateSource :: new( "syn" , "1.0.54" ) ,
145
+ KrateSource :: new( "libc" , "0.2.81" ) ,
146
+ KrateSource :: new( "quote" , "1.0.7" ) ,
147
+ KrateSource :: new( "rand_core" , "0.6.0" ) ,
148
+ KrateSource :: new( "unicode-xid" , "0.2.1" ) ,
149
+ KrateSource :: new( "proc-macro2" , "1.0.24" ) ,
150
+ KrateSource :: new( "bitflags" , "1.2.1" ) ,
151
+ KrateSource :: new( "log" , "0.4.11" ) ,
152
+ KrateSource :: new( "regex" , "1.4.2" )
153
+ //
154
+ ] ;
125
155
126
156
println ! ( "Compiling clippy..." ) ;
127
157
build_clippy ( ) ;
0 commit comments