You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that metadata will need to move to libsyntax (or some change like that) to allow syntax extensions to be loaded in a structured way (#1762) since it needs to search for any libraries from which they are loaded, and then actually load the macros in a (hopefully) typesafe way.
Work on this bug seems like the perfect opportunity to get started on that move.
@brson that'd be nice, but I don't think it's possible, unless it is independent of the AST, or macro expansion moves out of libsyntax; otherwise libsyntax will depend on libmetadata (to load macros from external crates), and vice versa.
Activity
huonw commentedon Aug 20, 2013
I think that metadata will need to move to libsyntax (or some change like that) to allow syntax extensions to be loaded in a structured way (#1762) since it needs to search for any libraries from which they are loaded, and then actually load the macros in a (hopefully) typesafe way.
Work on this bug seems like the perfect opportunity to get started on that move.
bblum commentedon Aug 21, 2013
metametadatabug
brson commentedon Aug 23, 2013
@huonw I prefer for metadata to move to its own crate.
huonw commentedon Aug 23, 2013
@brson that'd be nice, but I don't think it's possible, unless it is independent of the AST, or macro expansion moves out of libsyntax; otherwise libsyntax will depend on libmetadata (to load macros from external crates), and vice versa.
steveklabnik commentedon Jan 20, 2015
Triage: all but one of the original bugs are closed, so I'm just going to close this one. #2419 stands alone.