about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-12 10:21:06 +0000
committerbors <bors@rust-lang.org>2024-08-12 10:21:06 +0000
commit5e753ffe25758a4eeb9e865e599bc86fe778d44a (patch)
treeceeddb7a7ef7d8850f402b89790bda46acf9fe62 /compiler/rustc_codegen_llvm/src
parent563dc1cd335360415c3ca532635abba68db9b024 (diff)
parent234d383f5fea762a02a85e20f2282c623ca76739 (diff)
downloadrust-5e753ffe25758a4eeb9e865e599bc86fe778d44a.tar.gz
rust-5e753ffe25758a4eeb9e865e599bc86fe778d44a.zip
Auto merge of #17850 - Veykril:rust-analyzer-crate, r=Veykril
internal: Reply to requests with defaults when vfs is still loading

There is no reason for us to hit the database with queries when we certainly haven't reached a stable state yet. Instead we just reply with default request results until we are in a state where we can do meaningful work. This should save us from wasting resources while starting up at worst, and at best save us from creating query and interning entries that are non-meaningful which ultimately just end up wasting memory.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions