about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-31 05:54:19 -0700
committerGitHub <noreply@github.com>2016-07-31 05:54:19 -0700
commit5556554e2504ba2df8712ad0666ce1a11915dade (patch)
tree8a7f991c804b370a6a936b49237bfb79c74ce549 /src/rustllvm/PassWrapper.cpp
parent724f811794bf30141922eb9ff26cd9ce7febe64e (diff)
parent443f1ca83c8b323d530ba62ed1974a75f94e0e17 (diff)
downloadrust-5556554e2504ba2df8712ad0666ce1a11915dade.tar.gz
rust-5556554e2504ba2df8712ad0666ce1a11915dade.zip
Auto merge of #35129 - tmiasko:suggest-print-target-list, r=nagisa
Suggest use of `--print target-list` when target is not found.

If given target could not be found suggest using `--print target-list`.
Previously, error has been reported as:

$ rustc --target 86-unknown-linux-gnu
error: Error loading target specification: Could not find specification for target "86-unknown-linux-gnu"

After changes it looks as follows:

$ rustc --target 86-unknown-linux-gnu
error: Error loading target specification: Could not find specification for target "x86-unknown-linux-gnu". Use `--print target-list` for a list of supported targets
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions