Skip to content

Consolidate codegen-related compiler flags #12000

@alexcrichton

Description

@alexcrichton

We're starting to grow a very large number of codegen-related compiler flags, and arguably these should all be documented in one codegen place rather than --help.

Things I believe need to be consolidated:

Things I don't think should be consolidated

  • target (it's not just related to codegen)

We seem to be growing more of these every day, and I'm a little uneasy putting things in -Z flags, and I'm also a little uneasy about adding them as top-level flags.

Nominating, this is a backwards-compatibility issue with the compiler tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions