@@ -210,32 +210,43 @@ install!((self, builder, _config),
210
210
Self :: should_install( builder) {
211
211
install_rls( builder, self . compiler. stage, self . target) ;
212
212
} else {
213
- builder. info( & format!( "skipping Install RLS stage{} ({})" , self . compiler. stage, self . target) ) ;
213
+ builder. info(
214
+ & format!( "skipping Install RLS stage{} ({})" , self . compiler. stage, self . target) ,
215
+ ) ;
214
216
}
215
217
} ;
216
218
Clippy , "clippy" , Self :: should_build( _config) , only_hosts: true , {
217
- if builder. ensure( dist:: Clippy { compiler: self . compiler, target: self . target } ) . is_some( ) ||
218
- Self :: should_install( builder) {
219
+ if builder. ensure( dist:: Clippy {
220
+ compiler: self . compiler,
221
+ target: self . target,
222
+ } ) . is_some( ) || Self :: should_install( builder) {
219
223
install_clippy( builder, self . compiler. stage, self . target) ;
220
224
} else {
221
- builder. info( & format!( "skipping Install clippy stage{} ({})" , self . compiler. stage, self . target) ) ;
225
+ builder. info(
226
+ & format!( "skipping Install clippy stage{} ({})" , self . compiler. stage, self . target) ,
227
+ ) ;
222
228
}
223
229
} ;
224
230
Miri , "miri" , Self :: should_build( _config) , only_hosts: true , {
225
231
if builder. ensure( dist:: Miri { compiler: self . compiler, target: self . target } ) . is_some( ) ||
226
232
Self :: should_install( builder) {
227
233
install_miri( builder, self . compiler. stage, self . target) ;
228
234
} else {
229
- builder. info( & format!( "skipping Install miri stage{} ({})" , self . compiler. stage, self . target) ) ;
235
+ builder. info(
236
+ & format!( "skipping Install miri stage{} ({})" , self . compiler. stage, self . target) ,
237
+ ) ;
230
238
}
231
239
} ;
232
240
Rustfmt , "rustfmt" , Self :: should_build( _config) , only_hosts: true , {
233
- if builder. ensure( dist:: Rustfmt { compiler: self . compiler, target: self . target } ) . is_some( ) ||
234
- Self :: should_install( builder) {
241
+ if builder. ensure( dist:: Rustfmt {
242
+ compiler: self . compiler,
243
+ target: self . target
244
+ } ) . is_some( ) || Self :: should_install( builder) {
235
245
install_rustfmt( builder, self . compiler. stage, self . target) ;
236
246
} else {
237
247
builder. info(
238
- & format!( "skipping Install Rustfmt stage{} ({})" , self . compiler. stage, self . target) ) ;
248
+ & format!( "skipping Install Rustfmt stage{} ({})" , self . compiler. stage, self . target) ,
249
+ ) ;
239
250
}
240
251
} ;
241
252
Analysis , "analysis" , Self :: should_build( _config) , only_hosts: false , {
0 commit comments