about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-08 21:44:45 +0200
committerGitHub <noreply@github.com>2023-08-08 21:44:45 +0200
commit4f82fb81f53464729ed836c5f06a0fe048d5c777 (patch)
treecd50ae3a5ead50e68a02b945f8eb4b40678790eb /compiler/rustc_codegen_llvm/src
parent54a9c2cb2a97f5d8532d6322d4b1144c6b8a2b6e (diff)
parentda00356e5570e66dc90e6f403345bbbab255b95a (diff)
downloadrust-4f82fb81f53464729ed836c5f06a0fe048d5c777.tar.gz
rust-4f82fb81f53464729ed836c5f06a0fe048d5c777.zip
Rollup merge of #114613 - ferrocene:pa-fix-rebuild, r=lqd
Prevent constant rebuilds of `rustc-main` (and thus everything else)

PR #114305 changed bootstrap to run `strip -g` on `librustc_driver.so` and `libllvm.so` on Linux when no debuginfo was requested. Unfortunately, that PR resulted in bootstrap always rebuilding everything starting from stage 1 `rustc-main` (including stage 1 libraries and tests) when invoking bootstrap multiple times.

We noticed this because Ferrocene's CI times increased to between 2x and 3x total execution time, but the regression can also be reproduced locally by running `./x build library/sysroot --stage 1` twice.

The explanation of the problem is in the code comments.

r? ```@lqd```
cc ```@ozkanonur```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions