-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerA-print-requestsArea: print requests (`--print=...`)Area: print requests (`--print=...`)B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-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
This is a tracking issue for the compiler print request --print=supported-crate-types
.
This print request is currently unstable, gated behind -Zunstable-options
.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Discussion comments will get marked as off-topic or deleted.
Repeated discussions on the tracking issue may lead to the tracking issue getting locked.
Steps
- Draft and accept an MCP: Add
--print=supported-crate-types
compiler-team#836 - Implement the print request as an unstable print option: Add unstable
--print=supported-crate-types
option #138641 - Adjust documentation (see instructions on rustc-dev-guide): Add unstable
--print=supported-crate-types
option #138641 - Stabilization PR (see instructions on rustc-dev-guide): TODO; after some baking
Unresolved Questions
- (Bikeshedding) Is
supported-crate-types
the best name for the print request?
Design decision history
None yet, since initial implementation.
Implementation history
zjp-CN
Metadata
Metadata
Assignees
Labels
A-CLIArea: Command-line interface (CLI) to the compilerArea: Command-line interface (CLI) to the compilerA-print-requestsArea: print requests (`--print=...`)Area: print requests (`--print=...`)B-unstableBlocker: Implemented in the nightly compiler and unstable.Blocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-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.