diff --git a/benches/helpers/miri_helper.rs b/benches/helpers/miri_helper.rs index 44a94cd61a..b5193c1543 100644 --- a/benches/helpers/miri_helper.rs +++ b/benches/helpers/miri_helper.rs @@ -59,5 +59,5 @@ pub fn run(filename: &str, bencher: &mut Bencher) { "--sysroot".to_string(), find_sysroot(), ]; - rustc_driver::run_compiler(args, &mut MiriCompilerCalls { bencher }, None, None).unwrap() + rustc_driver::run_compiler(args, &[], &mut MiriCompilerCalls { bencher }, None, None).unwrap() } diff --git a/src/bin/miri-rustc-tests.rs b/src/bin/miri-rustc-tests.rs index cf50f8125c..9c45ad1f83 100644 --- a/src/bin/miri-rustc-tests.rs +++ b/src/bin/miri-rustc-tests.rs @@ -142,7 +142,7 @@ fn main() { let buf = BufWriter::default(); let output = buf.clone(); let result = std::panic::catch_unwind(|| { - let _ = rustc_driver::run_compiler(&args, &mut MiriCompilerCalls { host_target }, None, Some(Box::new(buf))); + let _ = rustc_driver::run_compiler(&args, &[], &mut MiriCompilerCalls { host_target }, None, Some(Box::new(buf))); }); match result { diff --git a/src/bin/miri.rs b/src/bin/miri.rs index 31ed5f2ccd..9b5f8e41b5 100644 --- a/src/bin/miri.rs +++ b/src/bin/miri.rs @@ -180,7 +180,7 @@ fn main() { debug!("miri arguments: {:?}", miri_args); let miri_config = miri::MiriConfig { validate, args: miri_args, seed }; let result = rustc_driver::report_ices_to_stderr_if_any(move || { - rustc_driver::run_compiler(&rustc_args, &mut MiriCompilerCalls { miri_config }, None, None) + rustc_driver::run_compiler(&rustc_args, &[], &mut MiriCompilerCalls { miri_config }, None, None) }).and_then(|result| result); std::process::exit(result.is_err() as i32); }