Unverified Commit 45a68edf authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

Turbopack: prefetch children too (#88324)

### What?

children need to be prefetched too, since connect_child accesses the child to check for scheduling
parent 16c7ed28
......@@ -1003,6 +1003,7 @@ impl<B: BackingStorage> TaskGuard for TaskGuardImpl<'_, B> {
let map = iter_many!(self, OutputDependency { target } => (target, TaskDataCategory::Meta))
.chain(iter_many!(self, CellDependency { target } => (target.task, TaskDataCategory::All)))
.chain(iter_many!(self, CollectiblesDependency { target } => (target.task, TaskDataCategory::All)))
.chain(iter_many!(self, Child { task } => (task, TaskDataCategory::All)))
.collect::<FxIndexMap<_, _>>();
(map.len() > 1).then_some(map)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment