Auto merge of #5232 - matklad:unit-map, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 25 Mar 2018 07:25:30 +0000 (07:25 +0000)
committerbors <bors@rust-lang.org>
Sun, 25 Mar 2018 07:25:30 +0000 (07:25 +0000)
commit607f954e0675c703cb952e77984b1cc5afeb3bbc
tree965f452db07b6624c6d09344c1980cbf3945e467
parentd4bd5885813d947b4bf9e4f552525359537dd2e4
parent1b63fcf74e4049669ebf4073886086335905afd7
Auto merge of #5232 - matklad:unit-map, r=alexcrichton

Refactor context to extract dependencies calculation to a separate mod

This makes unit dependency graph construction eager and moves it to a separate file.

Hopefully, this makes `Context` slightly easier to understand :)
src/cargo/ops/cargo_rustc/custom_build.rs