mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
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:
@@ -1079,6 +1079,11 @@ pub fn cargo(
|
||||
},
|
||||
);
|
||||
|
||||
if self.config.cmd.bless() {
|
||||
// Bless `expect!` tests.
|
||||
cargo.env("UPDATE_EXPECT", "1");
|
||||
}
|
||||
|
||||
if !mode.is_tool() {
|
||||
cargo.env("RUSTC_FORCE_UNSTABLE", "1");
|
||||
}
|
||||
|
||||
@@ -1754,11 +1754,6 @@ fn run(self, builder: &Builder<'_>) {
|
||||
cargo.arg("--quiet");
|
||||
}
|
||||
|
||||
if builder.config.cmd.bless() {
|
||||
// Bless `expect!` tests.
|
||||
cargo.env("UPDATE_EXPECT", "1");
|
||||
}
|
||||
|
||||
if target.contains("emscripten") {
|
||||
cargo.env(
|
||||
format!("CARGO_TARGET_{}_RUNNER", envify(&target.triple)),
|
||||
|
||||
Reference in New Issue
Block a user