]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Auto merge of #50022 - nrc:doc-analysis, r=mark-simulacrum
authorbors <bors@rust-lang.org>
Wed, 18 Apr 2018 22:30:00 +0000 (22:30 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Apr 2018 22:30:00 +0000 (22:30 +0000)
commite0f9b32357cc6549aa173ae92c9b971a2ab49672
treedc185541f280bd7a0257d18dbe64adf52c2f04c6
parentac3c2288f9f9d977acb46406ba60033d65165a7b
parentde34735ab249ffe6afdef94f27a1200fb77653f7
Auto merge of #50022 - nrc:doc-analysis, r=mark-simulacrum

Only emit save-analysis data for `cargo build` tasks

Previously, we were emittinng analysis data for all tasks, including `doc`. That meant we got two sets of save-analysis data, one from the normal build and one from the docs. That means indexing with the RLS took twice as long and made downloads larger and build times longer.

cc https://github.com/rust-lang-nursery/rls/issues/826

r? @Mark-Simulacrum
src/bootstrap/builder.rs