Update rustc-perf submodule before running tidy

This commit is contained in:
Jakub Beránek 2024-06-10 12:41:52 +02:00
parent 06194cadcd
commit faac70b66e
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

View File

@ -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);