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

Print note when trying to use unstable --print target-spec-json #41683

Closed
jethrogb opened this issue May 1, 2017 · 0 comments
Closed

Print note when trying to use unstable --print target-spec-json #41683

jethrogb opened this issue May 1, 2017 · 0 comments
Labels
A-frontend Area: frontend (errors, parsing and HIR)

Comments

@jethrogb
Copy link
Contributor

jethrogb commented May 1, 2017

#38061 introduced --print target-spec-json but it's a little hard to find out how to use it:

Current:

$ rustc +nightly --print target-spec-json
error: unknown print request `target-spec-json`

Expected:

$ rustc +nightly --print target-spec-json
error: the `-Z unstable-options` flag must also be passed to enable the print request `target-spec-json`
@Mark-Simulacrum Mark-Simulacrum added the A-frontend Area: frontend (errors, parsing and HIR) label Jun 22, 2017
zackmdavis added a commit to zackmdavis/rust that referenced this issue Jul 19, 2017
bors added a commit that referenced this issue Jul 20, 2017
…ions_error, r=arielb1

explanatory error on `--print target-spec-json` without unstable options

![unstable_target_spec](https://user-images.githubusercontent.com/1076988/28243342-9731a45c-697a-11e7-9852-bad7ca1802b7.png)

Resolves #41683.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: frontend (errors, parsing and HIR)
Projects
None yet
Development

No branches or pull requests

2 participants