Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

metadata technical debt #8652

Closed
graydon opened this issue Aug 20, 2013 · 5 comments
Closed

metadata technical debt #8652

graydon opened this issue Aug 20, 2013 · 5 comments
Labels
A-metadata Area: Crate metadata C-cleanup Category: PRs that clean code up or issues documenting cleanup. I-compiletime Issue: Problems and improvements with respect to compile times. metabug Issues about issues themselves ("bugs about bugs")

Comments

@graydon
Copy link
Contributor

graydon commented Aug 20, 2013

Tracking bug for issues to fix in metadata that make it difficult to imagine larger scale fixes:

There are probably a lot of other bugs here. Please add them so we can get multiple hands cleaning this stuff up.

@huonw
Copy link
Member

huonw commented 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
Copy link
Contributor

bblum commented Aug 21, 2013

metametadatabug

@brson
Copy link
Contributor

brson commented Aug 23, 2013

@huonw I prefer for metadata to move to its own crate.

@huonw
Copy link
Member

huonw commented 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
Copy link
Member

Triage: all but one of the original bugs are closed, so I'm just going to close this one. #2419 stands alone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-metadata Area: Crate metadata C-cleanup Category: PRs that clean code up or issues documenting cleanup. I-compiletime Issue: Problems and improvements with respect to compile times. metabug Issues about issues themselves ("bugs about bugs")
Projects
None yet
Development

No branches or pull requests

5 participants