diff options
| author | bors <bors@rust-lang.org> | 2024-06-10 11:08:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-06-10 11:08:16 +0000 |
| commit | 0de24a5177b1d49d6304f76f3ab159faaec134f9 (patch) | |
| tree | 610bb974f5a7961442b5a26f2054c4bbcc87fd27 /src | |
| parent | 06194cadcd0948a7100b46737f61e82b8c00d632 (diff) | |
| parent | faac70b66e5135717a651dd3f13e6504e7b0c8c9 (diff) | |
Auto merge of #126225 - Kobzol:tidy-update-rustc-perf, r=onur-ozkan
Update `rustc-perf` submodule before running tidy Since https://github.com/rust-lang/rust/pull/125465, `tidy` checks `src/tools/rustc-perf`, so we need to have it checked out before running `tidy`. Fixes: https://github.com/rust-lang/rust/issues/126224 r? `@onur-ozkan`
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/test.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index fb7b40b7321..29cd90222b2 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -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); |
