mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Rename ra_proc_macro_srv -> proc_macro_srv
This commit is contained in:
parent
f277ec27ac
commit
349e6c62ad
22 changed files with 10 additions and 11 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
@ -1133,8 +1133,8 @@ dependencies = [
|
|||
]
|
||||
|
||||
[[package]]
|
||||
name = "ra_proc_macro_srv"
|
||||
version = "0.1.0"
|
||||
name = "proc_macro_srv"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"cargo_metadata",
|
||||
"difference",
|
||||
|
@ -1280,7 +1280,7 @@ dependencies = [
|
|||
"ra_ide",
|
||||
"ra_ide_db",
|
||||
"ra_mbe",
|
||||
"ra_proc_macro_srv",
|
||||
"proc_macro_srv",
|
||||
"ra_project_model",
|
||||
"ra_ssr",
|
||||
"rayon",
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
[package]
|
||||
edition = "2018"
|
||||
name = "ra_proc_macro_srv"
|
||||
version = "0.1.0"
|
||||
authors = ["rust-analyzer developers"]
|
||||
publish = false
|
||||
name = "proc_macro_srv"
|
||||
version = "0.0.0"
|
||||
license = "MIT OR Apache-2.0"
|
||||
authors = ["rust-analyzer developers"]
|
||||
edition = "2018"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
|
@ -52,7 +52,7 @@ ra_ssr = { path = "../ra_ssr" }
|
|||
hir = { path = "../ra_hir", package = "ra_hir" }
|
||||
hir_def = { path = "../ra_hir_def", package = "ra_hir_def" }
|
||||
hir_ty = { path = "../ra_hir_ty", package = "ra_hir_ty" }
|
||||
ra_proc_macro_srv = { path = "../ra_proc_macro_srv" }
|
||||
proc_macro_srv = { path = "../proc_macro_srv" }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = "0.3.8"
|
||||
|
|
|
@ -30,7 +30,7 @@ fn try_main() -> Result<()> {
|
|||
let args = args::Args::parse()?;
|
||||
match args.command {
|
||||
args::Command::RunServer => run_server()?,
|
||||
args::Command::ProcMacro => ra_proc_macro_srv::cli::run()?,
|
||||
args::Command::ProcMacro => proc_macro_srv::cli::run()?,
|
||||
|
||||
args::Command::Parse { no_dump } => cli::parse(no_dump)?,
|
||||
args::Command::Symbols => cli::symbols()?,
|
||||
|
|
|
@ -176,7 +176,7 @@ impl GlobalState {
|
|||
Ok(it) => it,
|
||||
Err(err) => {
|
||||
log::error!(
|
||||
"Failed to run ra_proc_macro_srv from path {}, error: {:?}",
|
||||
"Failed to run proc_macro_srv from path {}, error: {:?}",
|
||||
path.display(),
|
||||
err
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue