Auto merge of #5186 - infinity0:stricter-need-dev-deps, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 21 Mar 2018 14:19:11 +0000 (14:19 +0000)
committerbors <bors@rust-lang.org>
Wed, 21 Mar 2018 14:19:11 +0000 (14:19 +0000)
Stricter need_dev_deps behaviour

The previous PR (#5012) contained an unnecessary work-around for behaviour of `--all-targets` that was misunderstood. This PR removes that work-around and adds some tests and comments to clarify the behaviour for future contributors, which may help to make easier a future fix for #5177 and #5178.

1  2 
src/bin/commands/rustc.rs
src/bin/commands/rustdoc.rs
tests/testsuite/build.rs
tests/testsuite/rustc.rs

Simple merge
Simple merge
Simple merge
Simple merge