Auto merge of #5520 - alexcrichton:check-with-full-proc-macro, r=matklad
authorbors <bors@rust-lang.org>
Fri, 11 May 2018 22:55:05 +0000 (22:55 +0000)
committerbors <bors@rust-lang.org>
Fri, 11 May 2018 22:55:05 +0000 (22:55 +0000)
Fix mode generated in `maybe_lib`

The new `mode` for the library dependency is dependent on the library target
rather than the target which is the reason for the dependency on the library!

Closes rust-lang/rust#50640


Trivial merge