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:
authorWilfred Hughes <wilfred@meta.com>2024-08-13 16:26:37 -0700
committerWilfred Hughes <wilfred@meta.com>2024-08-19 10:27:53 -0700
commitf25cb8073c2a10648fff0a267e3c41817a81b1a0 (patch)
treee8e62d472f470bfee8c5216170075d79be04e4ef /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parentf9c0c8a7794b9a9679a82e95a8af67ba62948582 (diff)
downloadrust-f25cb8073c2a10648fff0a267e3c41817a81b1a0.tar.gz
rust-f25cb8073c2a10648fff0a267e3c41817a81b1a0.zip
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