about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-10-01 20:06:34 +0000
committerbors <bors@rust-lang.org>2021-10-01 20:06:34 +0000
commit72bf97f9326fe6993ec144c2a1526ca3580c130a (patch)
tree6288e21db36e3f40b21c7ee10782c2917f64a2a4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent730d86f521c6ccbe3c68f8f48243d289c4a124ba (diff)
parentea60b69ee186d222510b79b0f3763c64144d2e1c (diff)
downloadrust-72bf97f9326fe6993ec144c2a1526ca3580c130a.tar.gz
rust-72bf97f9326fe6993ec144c2a1526ca3580c130a.zip
Auto merge of #88880 - cjgillot:no-krate, r=oli-obk
Rework HIR API to make invocations of the hir_crate query harder.

`hir_crate` forces the recomputation of queries that depend on it.

This PR aims at avoiding useless invocations of `hir_crate` by making dependent code go through `tcx.hir()`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions