mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-13 13:57:25 +00:00
Remove salsa from proc-macro server dep tree
This commit is contained in:
parent
2780dfd80c
commit
3d63140758
9 changed files with 88 additions and 15 deletions
|
@ -9,7 +9,6 @@ pub mod json;
|
|||
pub mod msg;
|
||||
mod process;
|
||||
|
||||
use base_db::Env;
|
||||
use paths::{AbsPath, AbsPathBuf};
|
||||
use span::Span;
|
||||
use std::{fmt, io, sync::Arc};
|
||||
|
@ -148,7 +147,7 @@ impl ProcMacro {
|
|||
&self,
|
||||
subtree: &tt::Subtree<Span>,
|
||||
attr: Option<&tt::Subtree<Span>>,
|
||||
env: Env,
|
||||
env: Vec<(String, String)>,
|
||||
def_site: Span,
|
||||
call_site: Span,
|
||||
mixed_site: Span,
|
||||
|
@ -179,7 +178,7 @@ impl ProcMacro {
|
|||
},
|
||||
},
|
||||
lib: self.dylib_path.to_path_buf().into(),
|
||||
env: env.into(),
|
||||
env,
|
||||
current_dir,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue