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
ttfor proc-macroTokenStreamserver, it is easier to manipulate and interact with RA thanproc-macro2token stream. - By copying the whole rustc
lib_proc_macrocode, we are able to build this withstablerustc rather thanunstable. (Although in general ABI compatibility is still an issue)…