]> git.proxmox.com Git - cargo.git/commit
Auto merge of #7482 - alexcrichton:fix-bin, r=ehuss
authorbors <bors@rust-lang.org>
Fri, 4 Oct 2019 17:07:14 +0000 (17:07 +0000)
committerbors <bors@rust-lang.org>
Fri, 4 Oct 2019 17:07:14 +0000 (17:07 +0000)
commit6925462a3efc0e7e1ad1fe865bf860351343b602
tree9589b036f08e01d8f3935ada0ad982d053d101ca
parent0fe1638e802f485dc3593f75abb02a60fe7653af
parent61188d791a29c1baae868f2ba0880c9d6db4092e
Auto merge of #7482 - alexcrichton:fix-bin, r=ehuss

Fix wrong directories in PATH on Windows

This fixes an accidental regression from #7425 where `PATH` was being
augmented on Windows with the wrong search path for target/host
libraries. This commit fixes the issue by simply always calculating the
host/target library paths for `TargetInfo`, and then we explicitly use
the same `TargetInfo` for filling out information in `Compilation`.

Closes #7475
src/cargo/core/compiler/build_context/target_info.rs