);
cargo.arg("--bin").arg("cargo-miri").arg("--").arg("miri").arg("setup");
- // Tell `cargo miri` not to worry about the sysroot mismatch (we built with
- // stage1 but run with stage2).
- cargo.env("MIRI_SKIP_SYSROOT_CHECK", "1");
// Tell `cargo miri setup` where to find the sources.
cargo.env("XARGO_RUST_SRC", builder.src.join("src"));
// Debug things.
if builder.config.channel == "dev" || builder.config.channel == "nightly" {
builder.info("fmt check");
- crate::format::format(&builder.build, true);
+ crate::format::format(&builder.build, !builder.config.cmd.bless());
}
}
let mut cargo = builder.cargo(compiler, mode, target, test_kind.subcommand());
match mode {
Mode::Std => {
- compile::std_cargo(builder, &compiler, target, &mut cargo);
+ compile::std_cargo(builder, target, &mut cargo);
}
Mode::Rustc => {
builder.ensure(compile::Rustc { compiler, target });