From: bors Date: Thu, 1 Mar 2018 21:49:10 +0000 (+0000) Subject: Auto merge of #5100 - alexcrichton:better-dep-ordering, r=matklad X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~2^2~69 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=558c7d2bec2546d31449f72dd3a547e88d681888;p=cargo.git Auto merge of #5100 - alexcrichton:better-dep-ordering, r=matklad Improve Cargo's scheduling of builds Historically Cargo has been pretty naive about scheduling builds, basically just greedily scheduling as much work as possible. As pointed out in #5014, however, this isn't guaranteed to always have the best results. If we've got a very deep dependency tree that would otherwise fill up our CPUs Cargo should ideally schedule these dependencies first. That way when we reach higher up in the dependency tree we should have more work available to fill in the cracks if there's spare cpus. Closes #5014 --- 558c7d2bec2546d31449f72dd3a547e88d681888