-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-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
I'm trying to obtain the rustc
analysis metadata for a single .rs
file, but not specifying a binary object type inside emit
causes no output.
test.rs
:
//! # Documentation Example
//! An example for figuring out metadata emission.
/// Begins the program.
fn main() {
println!("Hello, world!");
}
Commands:
» ls -a
. .. test.rs
» rustc --emit=metadata test.rs
» ls -a
. .. test.rs
» rustc --emit=metadata,link test.rs
» ls -a
. .. libtest.rmeta test test.rs
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-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.