Skip to content

Commit ceda774

Browse files
committed
dont test Miri by default (also be more verbose when being verbose)
1 parent 295f894 commit ceda774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ pub struct Miri {
363363
impl Step for Miri {
364364
type Output = ();
365365
const ONLY_HOSTS: bool = true;
366-
const DEFAULT: bool = true;
367366

368367
fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_> {
369368
run.path("src/tools/miri")
@@ -430,6 +429,7 @@ impl Step for Miri {
430429
let miri_sysroot = if builder.config.dry_run {
431430
String::new()
432431
} else {
432+
builder.verbose(&format!("running: {:?}", cargo));
433433
let out = cargo.output()
434434
.expect("We already ran `cargo miri setup` before and that worked");
435435
assert!(out.status.success(), "`cargo miri setup` returned with non-0 exit code");

0 commit comments

Comments
 (0)