about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-07-20 17:19:32 +0200
committerGitHub <noreply@github.com>2023-07-20 17:19:32 +0200
commit6102785a299c11c9e25a2491992e9f35297f1dfb (patch)
treeeecb1b5db20c2fbce17b0197060e7d6e949977f6
parent8c17e0701ed4829b0758359c9a5d75f96be2d6de (diff)
parent7de9b654b7888ee387a9907f7a5f9b824ca053be (diff)
downloadrust-6102785a299c11c9e25a2491992e9f35297f1dfb.tar.gz
rust-6102785a299c11c9e25a2491992e9f35297f1dfb.zip
Rollup merge of #113800 - oli-obk:gha_ci_cycle, r=jyn514
Avoid another gha group nesting

fixes https://github.com/rust-lang/rust/issues/113798 (`x test error_index_generator` did not work locally anymore)

r? ``@jyn514``
-rw-r--r--src/bootstrap/test.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 44b8c2d8c01..c69b21488d2 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -2087,10 +2087,11 @@ impl Step for ErrorIndex {
         let mut tool = tool::ErrorIndex::command(builder);
         tool.arg("markdown").arg(&output);
 
-        let _guard =
+        let guard =
             builder.msg(Kind::Test, compiler.stage, "error-index", compiler.host, compiler.host);
         let _time = util::timeit(&builder);
         builder.run_quiet(&mut tool);
+        drop(guard);
         // The tests themselves need to link to std, so make sure it is
         // available.
         builder.ensure(compile::Std::new(compiler, compiler.host));