about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-02-22 14:58:08 +0100
committerGitHub <noreply@github.com>2019-02-22 14:58:08 +0100
commit555df2bba18bfac212a335c059520d86ac0eb451 (patch)
treee66748ea2d2d2f434bac379c7d706de01c83dede /src/rustllvm/RustWrapper.cpp
parent575a2096243538868f6ac88dbd99be1b560962fd (diff)
parent103ed0c347062967b8b5fe76a02f945da14aac72 (diff)
downloadrust-555df2bba18bfac212a335c059520d86ac0eb451.tar.gz
rust-555df2bba18bfac212a335c059520d86ac0eb451.zip
Rollup merge of #58601 - gnzlbg:json_error, r=oli-obk
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.

r? @oli-obk
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions