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