Skip to content

Commit

Permalink
Update rustc-perf submodule before running tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jun 10, 2024
1 parent 06194ca commit faac70b
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 faac70b

Please sign in to comment.