-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Multiple uses of --emit=dep-info do different things in rustc and rustdoc #141664
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerC-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.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerC-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.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I tried this code:
#![doc=include_str!("hi.txt")]And built it with
--emit=dep-infopassed twice as a CLI arg.I expected to see this happen:
rustcandrustdocagree how to handle--emit=dep-info=<path>multiple times.Instead, this happened:
rustcpicks the 2nd one, butrustdocpicks the first one.Meta