about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2023-07-25 13:11:50 -0700
committerJosh Stone <jistone@redhat.com>2023-07-25 13:11:50 -0700
commitd0b58f40a0e669897fafb614299d2a989997eda7 (patch)
treec436a1ee295548f2eaf25aeb24bad27939401a01 /compiler/rustc_codegen_llvm/src/attributes.rs
parent4fc6b33474680ba57e10d56371c2c3df91788e26 (diff)
downloadrust-d0b58f40a0e669897fafb614299d2a989997eda7.tar.gz
rust-d0b58f40a0e669897fafb614299d2a989997eda7.zip
Allow using external builds of the compiler-rt profile lib
This changes the bootstrap config `target.*.profiler` from a plain bool
to also allow a string, which will be used as a path to the pre-built
profiling runtime for that target. Then `profiler_builtins/build.rs`
reads that in a `LLVM_PROFILER_RT_LIB` environment variable.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions