We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f4f39a commit 63d6ce0Copy full SHA for 63d6ce0
src/bootstrap/src/core/build_steps/dist.rs
@@ -995,9 +995,9 @@ impl Step for PlainSourceTarball {
995
if builder.rust_info().is_managed_git_subrepository()
996
|| builder.rust_info().is_from_tarball()
997
{
998
- if builder.rust_info().is_managed_git_subrepository() {
999
- // Ensure we have the submodules checked out.
1000
- builder.update_submodule(Path::new("src/tools/cargo"));
+ // Ensure we have all submodules from src and other directories checked out.
+ for submodule in builder.get_all_submodules() {
+ builder.update_submodule(Path::new(submodule));
1001
}
1002
1003
// Vendor all Cargo dependencies
0 commit comments