]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #5249 - alexcrichton:run-rustc-less, r=matklad
authorbors <bors@rust-lang.org>
Tue, 27 Mar 2018 13:58:26 +0000 (13:58 +0000)
committerbors <bors@rust-lang.org>
Tue, 27 Mar 2018 13:58:26 +0000 (13:58 +0000)
Run `rustc` for information fewer times

Currently if you pass `--target` the same as rustc's host Cargo will run `rustc`
on extra time to learn information, but we only need to run it once to learn
such information!

1  2 
src/cargo/ops/cargo_rustc/context/mod.rs