From: bors Date: Tue, 1 Nov 2016 23:06:35 +0000 (-0700) Subject: Auto merge of #3242 - jhbabon:cfgs-flags-per-package, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~13^2~23 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eca9e159b6b0d484788ac757cf23052eba75af55;p=cargo.git Auto merge of #3242 - jhbabon:cfgs-flags-per-package, r=alexcrichton FIX: Call rustdoc test with the correct cfg flags of a package. There was a situation in which if you you had a lib that depends on a package with features, whenever you ran the tests for the package the `rustdoc test` call was failing because it was called with the root `cfg` flags, not the package `cfg` flags. This fix solves the issue by keeping track of the `cfg` flags per package, so the `rustdoc` command will be generated with the correct `cfg` flags. Closes #3172 --- eca9e159b6b0d484788ac757cf23052eba75af55