From: bors Date: Tue, 12 Dec 2017 04:46:25 +0000 (+0000) Subject: Auto merge of #4797 - lukaslueg:issue3169, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~4^2~27 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=77d44e7d567017dd0103d61981c89b4e556aeba8;p=cargo.git Auto merge of #4797 - lukaslueg:issue3169, r=alexcrichton Bail out when trying to link to a library that is not linkable. There are more subtleties here than expected, as we can have situations where it is actually Ok to have no linkable targets: Build scripts are a common case, yet benchmark tests started to also fail. I have to say I'm not convinced if the situation "not one target is linkable, yet at least one target is a library (and therefor at least something should be linked)" is actually correct. All tests pass, however, including the one that checks for #3169 --- 77d44e7d567017dd0103d61981c89b4e556aeba8