]> git.lizzy.rs Git - rust.git/commit - library/std/src/os/fd/owned.rs
Rollup merge of #106886 - dtolnay:fastinstall, r=Mark-Simulacrum
authorYuki Okushi <jtitor@2k36.org>
Mon, 23 Jan 2023 10:29:59 +0000 (19:29 +0900)
committerGitHub <noreply@github.com>
Mon, 23 Jan 2023 10:29:59 +0000 (19:29 +0900)
commitae15d1094a1185e965a3de1672c5159546af9863
tree90fe42dbf5335361238377a148c9b10285e91e79
parent9e79642a7b0578f69585fc59476b5269f6040c5a
parent11e002a001348e7ea035c0cb2665be806e2a832e
Rollup merge of #106886 - dtolnay:fastinstall, r=Mark-Simulacrum

Make stage2 rustdoc and proc-macro-srv disableable in x.py install

Rustdoc will build if `[build] tools = ["rustdoc"]` is set, and rust-analyzer-proc-macro-srv will build if `[build] tools = ["rust-analyzer"]` is set.

On my machine skipping these tools speeds up `x.py install` from 7m15s to 6m08s (0m43s for rustdoc and 0m24s for rust-analyzer-proc-macro-srv). This is a significant speedup, since I never use rust-analyzer-proc-macro-srv, and I practically never need to use a custom build of rustdoc.
src/bootstrap/dist.rs