]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/dist.rs
Use the same message as type & const generics.
[rust.git] / src / bootstrap / dist.rs
index 5cbaf03d02908f38844f80d96803dd551cba2e44..b5901ce6f7400f6fdaad8a215f00de4a2448f002 100644 (file)
@@ -879,6 +879,9 @@ fn run(self, builder: &Builder<'_>) -> GeneratedTarball {
 
         // If we're building from git sources, we need to vendor a complete distribution.
         if builder.rust_info.is_git() {
+            // Ensure we have the submodules checked out.
+            builder.update_submodule(Path::new("src/tools/rust-analyzer"));
+
             // Vendor all Cargo dependencies
             let mut cmd = Command::new(&builder.initial_cargo);
             cmd.arg("vendor")