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