mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Spawn a proc-macro-srv instance per workspace
This commit is contained in:
parent
84a6fac37a
commit
aeb07745d5
3 changed files with 26 additions and 23 deletions
|
@ -61,7 +61,7 @@ pub(crate) struct GlobalState {
|
|||
pub(crate) proc_macro_changed: bool,
|
||||
pub(crate) last_reported_status: Option<lsp_ext::ServerStatusParams>,
|
||||
pub(crate) source_root_config: SourceRootConfig,
|
||||
pub(crate) proc_macro_client: Option<ProcMacroServer>,
|
||||
pub(crate) proc_macro_clients: Vec<Option<ProcMacroServer>>,
|
||||
|
||||
pub(crate) flycheck: Vec<FlycheckHandle>,
|
||||
pub(crate) flycheck_sender: Sender<flycheck::Message>,
|
||||
|
@ -151,7 +151,7 @@ impl GlobalState {
|
|||
proc_macro_changed: false,
|
||||
last_reported_status: None,
|
||||
source_root_config: SourceRootConfig::default(),
|
||||
proc_macro_client: None,
|
||||
proc_macro_clients: vec![],
|
||||
|
||||
flycheck: Vec::new(),
|
||||
flycheck_sender,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue