about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-25 14:44:55 +0000
committerbors <bors@rust-lang.org>2024-08-25 14:44:55 +0000
commit1a94d839be8b248b972b9e022cb940d56de72fa1 (patch)
tree9af2c740eed03dfe034d7da7a62e1da340a881f6 /compiler/rustc_passes/src/errors.rs
parent89103466d77a3ae068bab0fd17c53bf7104f627b (diff)
parent94aadf0f622d97db381ba711bf4f009a78bb7278 (diff)
downloadrust-1a94d839be8b248b972b9e022cb940d56de72fa1.tar.gz
rust-1a94d839be8b248b972b9e022cb940d56de72fa1.zip
Auto merge of #129295 - Zalathar:profiler-builtins, r=Kobzol
Build `library/profiler_builtins` from `ci-llvm` if appropriate

Running all of `tests/coverage` requires the LLVM profiler runtime, which requires setting `build.profiler = true`.

Historically, doing that has required checking out the entire `src/llvm-project` submodule. For compiler contributors who otherwise don't need that submodule (thanks to `download-ci-vm`), that's quite inconvenient.

However, thanks to #129116, the downloaded CI LLVM tarball now contains a copy of LLVM's `compiler-rt` directory, which includes all the files needed to build the profiler runtime. So with a little bit of extra logic in bootstrap, we can have `library/profiler_builtins` look for the `compiler-rt` files in `ci-llvm` instead of the `src/llvm-project` submodule.
Diffstat (limited to 'compiler/rustc_passes/src/errors.rs')
0 files changed, 0 insertions, 0 deletions