Add config for proc_macro

This commit is contained in:
Edwin Cheng
2020-04-13 00:05:33 +08:00
parent 22e33f308a
commit a4b0ce07f8
5 changed files with 22 additions and 1 deletions

View File

@@ -70,7 +70,7 @@ pub(crate) fn load_cargo(
})
.collect::<FxHashMap<_, _>>();
let proc_macro_client = if with_proc_macro {
let proc_macro_client = if !with_proc_macro {
ProcMacroClient::dummy()
} else {
ProcMacroClient::extern_process(Path::new("ra_proc_macro_srv")).unwrap()