Expand description
RA Proc Macro Server
This library is able to call compiled Rust custom derive dynamic libraries on arbitrary code. The general idea here is based on https://github.com/fedochet/rust-proc-macro-expander.
But we adapt it to better fit RA needs:
- We use
tt
for proc-macroTokenStream
server, it is easier to manipulate and interact with RA thanproc-macro2
token stream. - By copying the whole rustc
lib_proc_macro
code, we are able to build this withstable
rustc rather thanunstable
. (Although in general ABI compatibility is still an issue)…