Closed
Description
The llvm-bitcode-linker
, which is enabled by default in the compiler
config, is recompiled everytime I try to run tests:
$ python3 x.py test tests/run-make/hir-tree/
Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`)
Building tool llvm-bitcode-linker (stage0 -> stage1, x86_64-unknown-linux-gnu)
Compiling once_cell v1.19.0
Compiling cfg-if v1.0.0
...
Building tool rustdoc (stage0 -> stage1, x86_64-unknown-linux-gnu)
Compiling cfg-if v1.0.0
Compiling once_cell v1.19.0
...
$ python3 x.py test tests/run-make/hir-tree/
Creating a sysroot for stage1 compiler (use `rustup toolchain link 'name' build/host/stage1`)
Building tool llvm-bitcode-linker (stage0 -> stage1, x86_64-unknown-linux-gnu)
Compiling once_cell v1.19.0
Compiling cfg-if v1.0.0
...
Building tool rustdoc (stage0 -> stage1, x86_64-unknown-linux-gnu)
Compiling cfg-if v1.0.0
Compiling once_cell v1.19.0
...
The recompilation also causes further recompilation of rustdoc
(if I disable the bitcode linker, rustdoc is not recompiled).