]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #89756 - jyn514:bootstrap-times, r=Mark-Simulacrum
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 11 Oct 2021 21:45:51 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Oct 2021 21:45:51 +0000 (23:45 +0200)
commit1be64f34317bfe2b5a6d093f59ce082f171b3baf
tree938f1bc50a6cbeaca8734bc7b92d436b51ad1552
parent57504aafe8ade9964df8600249672dbab45dc47f
parent7f974d0aae1a6bf7c8211b6cbd80a4f21606280e
Rollup merge of #89756 - jyn514:bootstrap-times, r=Mark-Simulacrum

Greatly reduce amount of debuginfo compiled for bootstrap itself

Rather than compiling rustbuild and all its dependencies with
`debuginfo=2`, this compiles dependencies without debuginfo and
rustbuild with `debuginfo=1`. On my laptop, this brings compile times
down from ~1:20 to ~1:05.

See also https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/async.20in.20bootstrap.3F/near/254847594.

r? ``@Mark-Simulacrum``
src/bootstrap/bootstrap.py