Skip to content

Commit 813b56b

Browse files
committed
Silence all the boilerplate around ./miri run and ./miri run-dep
1 parent 822feaa commit 813b56b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/tools/miri/miri

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ run|run-dep)
325325
MIRIFLAGS="$MIRIFLAGS --target $MIRI_TEST_TARGET"
326326
fi
327327

328+
CARGO="$CARGO --quiet"
328329
# First build and get a sysroot.
329330
$CARGO build $CARGO_EXTRA_FLAGS --manifest-path "$MIRIDIR"/Cargo.toml
330331
find_sysroot

src/tools/miri/tests/compiletest.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,5 @@ fn run_dep_mode(target: String, mut args: impl Iterator<Item = OsString>) -> Res
288288
cmd.arg(path);
289289

290290
cmd.args(args);
291-
println!("Running {cmd:?}");
292291
if cmd.spawn()?.wait()?.success() { Ok(()) } else { std::process::exit(1) }
293292
}

0 commit comments

Comments
 (0)