We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6d1d37 commit efbf1eaCopy full SHA for efbf1ea
tests/ui.rs
@@ -315,8 +315,7 @@ fn main() -> Result<()> {
315
Ok(())
316
}
317
318
-fn run_dep_mode(target: String, mut args: impl Iterator<Item = OsString>) -> Result<()> {
319
- let path = args.next().expect("./miri run-dep must be followed by a file name");
+fn run_dep_mode(target: String, args: impl Iterator<Item = OsString>) -> Result<()> {
320
let mut config = miri_config(
321
&target,
322
"",
@@ -329,8 +328,6 @@ fn run_dep_mode(target: String, mut args: impl Iterator<Item = OsString>) -> Res
329
328
let mut cmd = config.program.build(&config.out_dir);
330
cmd.args(dep_args);
331
332
- cmd.arg(path);
333
-
334
cmd.args(args);
335
if cmd.spawn()?.wait()?.success() { Ok(()) } else { std::process::exit(1) }
336
0 commit comments