Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
valarauca opened this issue Sep 7, 2017 · 1 comment
Closed

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

valarauca opened this issue Sep 7, 2017 · 1 comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@valarauca
Copy link

valarauca commented Sep 7, 2017

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
@mattico
Copy link
Contributor

mattico commented Sep 7, 2017

I've got a fix for this ready, just waiting for rustc to build...

@TimNN TimNN added C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Sep 17, 2017
bors added a commit that referenced this issue Sep 20, 2017
Add 'native' to -C target-cpu=help

Fixes #44393
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants