Investigate if proc-macro crates can use regular crate metadata. #49271
Labels
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-metadata
Area: Crate metadata
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Currently, proc-macro crates require a lot of special-casing like the following:
rust/src/librustc_metadata/decoder.rs
Lines 503 to 510 in b176285
I wonder if this is really necessary. It would be preferable if proc-macro crates could be treated as regular crates.
cc @rust-lang/compiler @jseyfried
The text was updated successfully, but these errors were encountered: