chore(bootstrap/core/build_steps/dist): add fixme for duplicated vendor logic

This commit is contained in:
Bernardo Meurer Costa 2024-05-15 20:56:50 +00:00
parent d9a7868ceb
commit 4550fb52d1

View File

@ -1010,6 +1010,9 @@ impl Step for PlainSourceTarball {
if builder.rust_info().is_managed_git_subrepository()
|| builder.rust_info().is_from_tarball()
{
// FIXME: This code looks _very_ similar to what we have in `src/core/build_steps/vendor.rs`
// perhaps it should be removed in favor of making `dist` perform the `vendor` step?
// 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));