]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/lib.rs
Revert "Move llvm submodule updates to rustbuild"
[rust.git] / src / bootstrap / lib.rs
index 24da44b933abc9c8a6b92185a9011b797e42d1c3..2960dd3df6bf48b81a98cbd0ee8c80e42a6176f2 100644 (file)
@@ -478,8 +478,8 @@ pub fn build(&mut self) {
             job::setup(self);
         }
 
-        if let Subcommand::Format { check } = self.config.cmd {
-            return format::format(self, check);
+        if let Subcommand::Format { check, paths } = &self.config.cmd {
+            return format::format(self, *check, &paths);
         }
 
         if let Subcommand::Clean { all } = self.config.cmd {