about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-20 18:08:21 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-02-20 19:37:54 +0100
commit103ed0c347062967b8b5fe76a02f945da14aac72 (patch)
treea892ff08d93fe13e84f11c2abc2bad77a8573ed0 /src/rustllvm/RustWrapper.cpp
parentf66e4697ae286985ddefc53c3a047614568458bb (diff)
downloadrust-103ed0c347062967b8b5fe76a02f945da14aac72.tar.gz
rust-103ed0c347062967b8b5fe76a02f945da14aac72.zip
Search for target_triple.json only if builtin target not found
Before this commit, if the builtin target was found, but an error
happened when instantiating it (e.g. validating the target
specification file failed, etc.), then we ignored those errors
and proceeded to try to find a `target_triple.json` file, and if
that failed, reported that as an error.

With this commit, if rustc is supposed to provide the builtin target,
and something fails while instantiating it, that error will
get properly propagated.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions