Skip to content
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

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

Closed
nagisa opened this issue Feb 15, 2015 · 6 comments
Closed
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)

Comments

@nagisa
Copy link
Member

nagisa commented Feb 15, 2015

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.

@steveklabnik steveklabnik added the A-frontend Area: Compiler frontend (errors, parsing and HIR) label Feb 16, 2015
@steveklabnik
Copy link
Member

Triage: same issue today.

@bluss
Copy link
Member

bluss commented Mar 5, 2016

This is basically #30961

@nagisa
Copy link
Member Author

nagisa commented Mar 5, 2016

I disagree. The linked issue is only complaining about us suggesting to use llc whereas here the issue is about option value working this or another way depending on whether a specific stage of compilation is reached.

@ranma42
Copy link
Contributor

ranma42 commented Mar 5, 2016

This is going to be affected by #31709, as it moves the initialisation of LLVM to a much earlier stage.

@xen0n
Copy link
Contributor

xen0n commented Dec 19, 2016

Random triage: already fixed by #31709.

@bluss
Copy link
Member

bluss commented Dec 19, 2016

Thanks, this is now fixed. (The fix is in Rust 1.13 at least, may be earlier).

@bluss bluss closed this as completed Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

5 participants