Skip to content

Commit 0de24a5

Browse files
committed
Auto merge of #126225 - Kobzol:tidy-update-rustc-perf, r=onur-ozkan
Update `rustc-perf` submodule before running tidy Since #125465, `tidy` checks `src/tools/rustc-perf`, so we need to have it checked out before running `tidy`. Fixes: #126224 r? `@onur-ozkan`
2 parents 06194ca + faac70b commit 0de24a5

File tree

1 file changed

+2
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-0
lines changed

src/bootstrap/src/core/build_steps/test.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,8 @@ impl Step for Tidy {
11011101
/// Once tidy passes, this step also runs `fmt --check` if tests are being run
11021102
/// for the `dev` or `nightly` channels.
11031103
fn run(self, builder: &Builder<'_>) {
1104+
builder.build.update_submodule(Path::new("src/tools/rustc-perf"));
1105+
11041106
let mut cmd = builder.tool_cmd(Tool::Tidy);
11051107
cmd.arg(&builder.src);
11061108
cmd.arg(&builder.initial_cargo);

0 commit comments

Comments
 (0)