about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNika Layzell <nika@thelayzells.com>2021-06-29 14:49:54 -0400
committerNika Layzell <nika@thelayzells.com>2022-06-25 10:28:11 -0400
commit55f052d9c927699e0f69b937ac93701442155d39 (patch)
treed44691a0cd7196b680a08679943c97ed7fc1de8d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent1aabd8a4a6e1871f14e804302bd60dfcbffd5761 (diff)
downloadrust-55f052d9c927699e0f69b937ac93701442155d39.tar.gz
rust-55f052d9c927699e0f69b937ac93701442155d39.zip
proc_macro: cache static spans in client's thread-local state
This greatly improves the performance of the very frequently called
`call_site()` macro when running in a cross-thread configuration.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions