Merge pull request #5734 from pksunkara/ra_proc_macro_srv

Rename ra_proc_macro_srv -> proc_macro_srv
This commit is contained in:
Aleksey Kladov 2020-08-13 10:03:01 +02:00 committed by GitHub
commit 6fc43dc15e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 10 additions and 11 deletions

6
Cargo.lock generated
View file

@ -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",

View file

@ -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

View file

@ -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"

View file

@ -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()?,

View file

@ -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
);