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`
This commit is contained in:
commit
0de24a5177
1 changed files with 2 additions and 0 deletions
|
@ -1101,6 +1101,8 @@ impl Step for Tidy {
|
||||||
/// Once tidy passes, this step also runs `fmt --check` if tests are being run
|
/// Once tidy passes, this step also runs `fmt --check` if tests are being run
|
||||||
/// for the `dev` or `nightly` channels.
|
/// for the `dev` or `nightly` channels.
|
||||||
fn run(self, builder: &Builder<'_>) {
|
fn run(self, builder: &Builder<'_>) {
|
||||||
|
builder.build.update_submodule(Path::new("src/tools/rustc-perf"));
|
||||||
|
|
||||||
let mut cmd = builder.tool_cmd(Tool::Tidy);
|
let mut cmd = builder.tool_cmd(Tool::Tidy);
|
||||||
cmd.arg(&builder.src);
|
cmd.arg(&builder.src);
|
||||||
cmd.arg(&builder.initial_cargo);
|
cmd.arg(&builder.initial_cargo);
|
||||||
|
|
Loading…
Add table
Reference in a new issue