Skip to content

Commit e00e916

Browse files
committed
more debugging
1 parent 7fe5f45 commit e00e916

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/bootstrap/src/core/build_steps/test.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ impl Miri {
532532
// Debug things.
533533
cargo.env("RUST_BACKTRACE", "1");
534534

535+
eprintln!("Command used for sysroot build: {cargo:#?}");
536+
535537
let mut cargo = Command::from(cargo);
536538
let _guard = builder.msg(
537539
Kind::Build,
@@ -646,7 +648,7 @@ impl Step for Miri {
646648
{
647649
let _guard = builder.msg_sysroot_tool(Kind::Test, stage, "miri", host, target);
648650
let _time = helpers::timeit(builder);
649-
builder.run(&mut cargo);
651+
//builder.run(&mut cargo);
650652
}
651653

652654
// Run it again for mir-opt-level 4 to catch some miscompilations.
@@ -668,7 +670,7 @@ impl Step for Miri {
668670
target,
669671
);
670672
let _time = helpers::timeit(builder);
671-
builder.run(&mut cargo);
673+
//builder.run(&mut cargo);
672674
}
673675
}
674676

@@ -706,6 +708,7 @@ impl Step for Miri {
706708

707709
// Finally, pass test-args and run everything.
708710
cargo.arg("--").args(builder.config.test_args());
711+
eprintln!("Command used for cargo-miri-test: {cargo:#?}");
709712
let mut cargo = Command::from(cargo);
710713
{
711714
let _guard = builder.msg_sysroot_tool(Kind::Test, stage, "cargo-miri", host, target);

src/ci/docker/host-x86_64/x86_64-gnu-tools/checktools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ X_PY="$1"
88

99
# Try Miri first as that's what we are debugging.
1010
# Default stage should suffice.
11-
python3 "$X_PY" test src/tools/miri
11+
python3 "$X_PY" test src/tools/miri --stage 1
1212

1313
# Try to test the toolstate-tracked tools and store the build/test success in the TOOLSTATE_FILE.
1414

0 commit comments

Comments
 (0)