Skip to content

Allow combining --help -C help -Z help -W help in one invocation #954

@jyn514

Description

@jyn514

Proposal

Current, passing any number of flags after --help acts as if the remaining flags are ignored. For rust-lang/rust#98977, it would be convenient if there were a way to get all help output at once.

I propose that rustc --help -C help be changed to behave the same as rustc --help && rustc -C help to make this easier. Ditto for -Z help and -W help.

I would expect these to be printed in the order they're specified on the command line, rather than in some fixed order.

Mentors or Reviewers

@jyn514

Process

The main points of the Major Change Process are as follows:

  • File an issue describing the proposal.
  • A compiler team member who is knowledgeable in the area can second by writing @rustbot second or kickoff a team FCP with @rfcbot fcp $RESOLUTION.
  • Once an MCP is seconded, the Final Comment Period begins.
    • Final Comment Period lasts for 10 days after all outstanding concerns are solved.
    • Outstanding concerns will block the Final Comment Period from finishing. Once all concerns are resolved, the 10 day countdown is restarted.
    • If no concerns are raised after 10 days since the resolution of the last outstanding concern, the MCP is considered approved.

You can read more about Major Change Proposals on forge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerAdd this label so rfcbot knows to poll the compiler teamfinal-comment-periodThe FCP has started, most (if not all) team members are in agreementmajor-changeA proposal to make a major change to rustcto-announceAnnounce this issue on triage meeting

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions