]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/lib.rs
rustdoc: remove no-op CSS `.impl { flex-basis: 100% }` etc
[rust.git] / src / bootstrap / lib.rs
index c83490316b657ae9e3b5ee620b697e0ac4cff68b..cb18e14fa36d6c09d25f7d33e84d6164822847b8 100644 (file)
@@ -654,6 +654,8 @@ pub fn build(&mut self) {
             job::setup(self);
         }
 
+        // Download rustfmt early so that it can be used in rust-analyzer configs.
+        let _ = &builder::Builder::new(&self).initial_rustfmt();
         self.maybe_update_submodules();
 
         if let Subcommand::Format { check, paths } = &self.config.cmd {