1
Fork 0

Auto merge of #96457 - yungkneez:fix-bootstrap, r=Mark-Simulacrum

Initialize rust-analyzer submodule on bootstrap

Fixes #96456
This commit is contained in:
bors 2022-05-08 06:22:21 +00:00
commit 30046ce1fe
2 changed files with 11 additions and 2 deletions

View file

@ -998,6 +998,10 @@ class RustBuild(object):
"library/backtrace",
"library/stdarch"
]
# If build.vendor is set in config.toml, we must update rust-analyzer also.
# Otherwise, the bootstrap will fail (#96456).
if self.use_vendored_sources:
submodules.append("src/tools/rust-analyzer")
filtered_submodules = []
submodules_names = []
for module in submodules: