We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56a35bc commit 8bba0deCopy full SHA for 8bba0de
src/bootstrap/lib.rs
@@ -654,8 +654,6 @@ impl Build {
654
job::setup(self);
655
}
656
657
- // Download rustfmt early so that it can be used in rust-analyzer configs.
658
- let _ = &builder::Builder::new(&self).initial_rustfmt();
659
self.maybe_update_submodules();
660
661
if let Subcommand::Format { check, paths } = &self.config.cmd {
@@ -670,6 +668,9 @@ impl Build {
670
668
return setup::setup(&self.config, *profile);
671
669
672
+ // Download rustfmt early so that it can be used in rust-analyzer configs.
+ let _ = &builder::Builder::new(&self).initial_rustfmt();
673
+
674
{
675
let builder = builder::Builder::new(&self);
676
if let Some(path) = builder.paths.get(0) {
0 commit comments