Don't try to use the same info if target == host
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 18 Apr 2018 15:00:21 +0000 (18:00 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 18 Apr 2018 15:00:21 +0000 (18:00 +0300)
commitf7fa1f2ac5bd967cf1ea4ea740a65867ccfbec72
treeabeeab208313066008399d163f65154bd11432de
parent404970f2261e2d6c9ba4eac410065fa6226271d9
Don't try to use the same info if target == host

The info might be different due to RUSTFLAGS, which, in general,
are applied only to target.
src/cargo/core/compiler/context/mod.rs
tests/testsuite/cfg.rs