Rollup merge of #75975 - matklad:snapshot-tests, r=Mark-Simulacrum
Allow --bess ing expect-tests in tools I haven't tried this, but I think this should do the trick, as `RustdocCrate` is a special step in bootstrap, which uses `tool_caro` r? @ghost
This commit is contained in:
commit
3b9ca2cb52
|
@ -1079,6 +1079,11 @@ impl<'a> Builder<'a> {
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if self.config.cmd.bless() {
|
||||||
|
// Bless `expect!` tests.
|
||||||
|
cargo.env("UPDATE_EXPECT", "1");
|
||||||
|
}
|
||||||
|
|
||||||
if !mode.is_tool() {
|
if !mode.is_tool() {
|
||||||
cargo.env("RUSTC_FORCE_UNSTABLE", "1");
|
cargo.env("RUSTC_FORCE_UNSTABLE", "1");
|
||||||
}
|
}
|
||||||
|
|
|
@ -1754,11 +1754,6 @@ impl Step for Crate {
|
||||||
cargo.arg("--quiet");
|
cargo.arg("--quiet");
|
||||||
}
|
}
|
||||||
|
|
||||||
if builder.config.cmd.bless() {
|
|
||||||
// Bless `expect!` tests.
|
|
||||||
cargo.env("UPDATE_EXPECT", "1");
|
|
||||||
}
|
|
||||||
|
|
||||||
if target.contains("emscripten") {
|
if target.contains("emscripten") {
|
||||||
cargo.env(
|
cargo.env(
|
||||||
format!("CARGO_TARGET_{}_RUNNER", envify(&target.triple)),
|
format!("CARGO_TARGET_{}_RUNNER", envify(&target.triple)),
|
||||||
|
|
Loading…
Reference in a new issue