mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-04 23:50:47 +00:00
parent
80bee14e14
commit
ce8c6c4762
2 changed files with 18 additions and 0 deletions
|
@ -84,6 +84,7 @@ pub(crate) struct GlobalState {
|
|||
pub(crate) workspace_build_data: Option<BuildDataResult>,
|
||||
pub(crate) fetch_build_data_queue:
|
||||
OpQueue<BuildDataCollector, Option<anyhow::Result<BuildDataResult>>>,
|
||||
pub(crate) prime_caches_queue: OpQueue<(), ()>,
|
||||
|
||||
latest_requests: Arc<RwLock<LatestRequests>>,
|
||||
}
|
||||
|
@ -146,6 +147,7 @@ impl GlobalState {
|
|||
workspaces: Arc::new(Vec::new()),
|
||||
fetch_workspaces_queue: OpQueue::default(),
|
||||
workspace_build_data: None,
|
||||
prime_caches_queue: OpQueue::default(),
|
||||
|
||||
fetch_build_data_queue: OpQueue::default(),
|
||||
latest_requests: Default::default(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue