Skip to content

Commit c5b105d

Browse files
committed
Auto merge of #101969 - reez12g:issue-101306, r=reez12g
Make fmt downloaded on every invocation of bootstrap Fixes #101306
2 parents 8ce3204 + 9f201d6 commit c5b105d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bootstrap/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ impl Build {
654654
job::setup(self);
655655
}
656656

657+
// Download rustfmt early so that it can be used in rust-analyzer configs.
658+
let _ = &builder::Builder::new(&self).initial_rustfmt();
657659
self.maybe_update_submodules();
658660

659661
if let Subcommand::Format { check, paths } = &self.config.cmd {

0 commit comments

Comments
 (0)