about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2016-07-30 13:06:49 +0200
committerTomasz Miąsko <tomasz.miasko@gmail.com>2016-07-31 12:20:06 +0200
commit443f1ca83c8b323d530ba62ed1974a75f94e0e17 (patch)
tree408674cd77130050f0f0223a409bb49cd2633c98 /src/rustllvm/PassWrapper.cpp
parent2ad98a0b42917dbb0914f458829db7511be168d4 (diff)
downloadrust-443f1ca83c8b323d530ba62ed1974a75f94e0e17.tar.gz
rust-443f1ca83c8b323d530ba62ed1974a75f94e0e17.zip
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 x86-unknown-linux-gnu
error: Error loading target specification: Could not find specification for target "x86-unknown-linux-gnu"

After changes it looks as follows:

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