-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-metadataArea: Crate metadataArea: Crate metadataT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
At present, rustc --emit=metadata foo.rs
generates an empty rmeta file named libfoo.rmeta
. The logic behind is that rmeta is not needed for certain crate types. However, I feel we should still save it to a file when user explicitly requested it by --emit=metadata
, especially the metadata is always available in memory regardless of output crate types.
Metadata
Metadata
Assignees
Labels
A-metadataArea: Crate metadataArea: Crate metadataT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.