Skip to content

Indicate/warn cargo +nightly rustc -Zhelp does not show rustc +nightly -Zhelp experimental options #17145

Description

@ivelieu

Problem

The unstable compiler flags for rustc is quite a long list, but it is easy to miss since it isn't shown through cargo rustc -Zhelp, nightly or not. It'd be an improvement to have leave a note or warning when running cargo rustc -Zhelp specifically, that it does not list the rustc options, and to read about them at the unstable book, similar to what is already done when running non-nightly cargo -Zhelp.

Proposed Solution

No response

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cliArea: Command-line interface, option parsing, etc.A-unstableArea: nightly unstable supportC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions