oasislabs / oasis-cli

Build tool for the Oasis platform
Apache License 2.0
0 stars 1 forks source link

Coalesce parallel rust builds within same project #133

Open nhynes opened 5 years ago

nhynes commented 5 years ago

for instance, given the following dep graph

a -> b -> c
d

the invocations should be

cargo build --bin c --bin d # this is the desired outcome
cargo build --bin b
cargo build --bin a

but right now c and d are built separately.

Workspace::construct_build_plan would ideally return Vec<Vec<TargetRef>> containing topologically sorted antichains.