Skip to content

Commit

Permalink
Auto merge of #126225 - Kobzol:tidy-update-rustc-perf, r=onur-ozkan
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
bors committed Jun 10, 2024
2 parents 06194ca + faac70b commit 0de24a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1101,6 +1101,8 @@ impl Step for Tidy {
/// Once tidy passes, this step also runs `fmt --check` if tests are being run
/// for the `dev` or `nightly` channels.
fn run(self, builder: &Builder<'_>) {
builder.build.update_submodule(Path::new("src/tools/rustc-perf"));

let mut cmd = builder.tool_cmd(Tool::Tidy);
cmd.arg(&builder.src);
cmd.arg(&builder.initial_cargo);
Expand Down

0 comments on commit 0de24a5

Please sign in to comment.