Re:Why is my Rust build so slow?
by Cu3PO42 on Friday December 31, 2021 @09:16AM
(#29748228)
If I recall the reason is "rustc's representation of the AST is an implementation detail and unstable, thus macro code may not rely on it (and it will not be exposed)". Hence "syn" came along and provided a stable API and format. "quote" is the inverse function, turning an AST back into tokens.
[ Parent
| on HN ]
There are no comments on this comment yet.