Skip to content

rustc doesn't list native as a cpu option #44393

Closed
@valarauca

Description

@valarauca

short summary of the bug

$ rustc -Ctarget-cpu=help

Doesn't list the native as an option.

I expected to see this happen:

I was informed, on reddit that rustc -C target-cpu=native was a valid option, but I could not see it listed in the help menu.

Meta

I see this issues on

rustc 1.22.0-nightly (088216fb9 2017-09-04) #current nightly
rustc 1.20.0 (f3d6973f4 2017-08-27) #stable

How to reproduce

$ rustc -C target-cpu=help | grep native | wc -l
0
$ rustc -C target-cpu=native
error: no input filename given

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions