about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-19 17:30:25 +0000
committerbors <bors@rust-lang.org>2024-08-19 17:30:25 +0000
commitdf6ce9607ca80cd2068393b0cb2178ae1c39c677 (patch)
treee8e62d472f470bfee8c5216170075d79be04e4ef /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parentf9c0c8a7794b9a9679a82e95a8af67ba62948582 (diff)
parentf25cb8073c2a10648fff0a267e3c41817a81b1a0 (diff)
downloadrust-df6ce9607ca80cd2068393b0cb2178ae1c39c677.tar.gz
rust-df6ce9607ca80cd2068393b0cb2178ae1c39c677.zip
Auto merge of #17886 - Wilfred:prime_caches_quiescent, r=Veykril
internal: ServerStatusParams should consider 'prime caches' in quiescent status

Priming caches is a performance win, but it takes a lock on the salsa database and prevents rust-analyzer from responding to e.g. go-to-def requests.

This causes confusion for users, who see the spinner next to rust-analyzer in the VS Code footer stop, so they start attempting to navigate their code.

Instead, set the `quiescent` status in LSP to false during cache priming, so the VS Code spinner persists until we can respond to any LSP request.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions