Skip to content

-C target-cpu=help won’t print anything unless compilation reaches trans #22380

Closed
@nagisa

Description

@nagisa

target-cpu=help
Selects a target processor. If the value is 'help', then a list of available CPUs is printed.

$ rustc -C target-cpu=help
error: no input filename given

It works if file compiles and manages to reach trans, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions