We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7be59c commit e6a2c82Copy full SHA for e6a2c82
src/bootstrap/builder.rs
@@ -1079,6 +1079,11 @@ impl<'a> Builder<'a> {
1079
},
1080
);
1081
1082
+ if self.config.cmd.bless() {
1083
+ // Bless `expect!` tests.
1084
+ cargo.env("UPDATE_EXPECT", "1");
1085
+ }
1086
+
1087
if !mode.is_tool() {
1088
cargo.env("RUSTC_FORCE_UNSTABLE", "1");
1089
}
src/bootstrap/test.rs
@@ -1754,11 +1754,6 @@ impl Step for Crate {
1754
cargo.arg("--quiet");
1755
1756
1757
- if builder.config.cmd.bless() {
1758
- // Bless `expect!` tests.
1759
- cargo.env("UPDATE_EXPECT", "1");
1760
- }
1761
-
1762
if target.contains("emscripten") {
1763
cargo.env(
1764
format!("CARGO_TARGET_{}_RUNNER", envify(&target.triple)),
0 commit comments