@@ -230,11 +230,16 @@ fn main() -> Result<()> {
230
230
ui ( Mode :: Pass , "tests/pass" , & target, WithoutDependencies ) ?;
231
231
ui ( Mode :: Pass , "tests/pass-dep" , & target, WithDependencies ) ?;
232
232
ui ( Mode :: Panic , "tests/panic" , & target, WithDependencies ) ?;
233
- ui ( Mode :: Fail { require_patterns : true } , "tests/fail" , & target, WithDependencies ) ?;
233
+ ui (
234
+ Mode :: Fail { require_patterns : true , rustfix : false } ,
235
+ "tests/fail" ,
236
+ & target,
237
+ WithDependencies ,
238
+ ) ?;
234
239
if cfg ! ( target_os = "linux" ) {
235
240
ui ( Mode :: Pass , "tests/extern-so/pass" , & target, WithoutDependencies ) ?;
236
241
ui (
237
- Mode :: Fail { require_patterns : true } ,
242
+ Mode :: Fail { require_patterns : true , rustfix : false } ,
238
243
"tests/extern-so/fail" ,
239
244
& target,
240
245
WithoutDependencies ,
@@ -246,11 +251,13 @@ fn main() -> Result<()> {
246
251
247
252
fn run_dep_mode ( target : String , mut args : impl Iterator < Item = OsString > ) -> Result < ( ) > {
248
253
let path = args. next ( ) . expect ( "./miri run-dep must be followed by a file name" ) ;
249
- let mut config = test_config ( & target, "" , Mode :: Yolo , /* with dependencies */ true ) ;
254
+ let mut config =
255
+ test_config ( & target, "" , Mode :: Yolo { rustfix : false } , /* with dependencies */ true ) ;
250
256
config. program . args . clear ( ) ; // We want to give the user full control over flags
251
- config. build_dependencies_and_link_them ( ) ?;
257
+ let dep_args = config. build_dependencies ( ) ?;
252
258
253
259
let mut cmd = config. program . build ( & config. out_dir ) ;
260
+ cmd. args ( dep_args) ;
254
261
255
262
cmd. arg ( path) ;
256
263
0 commit comments