diff options
| author | gnzlbg <gonzalobg88@gmail.com> | 2019-02-20 18:08:21 +0100 |
|---|---|---|
| committer | gnzlbg <gonzalobg88@gmail.com> | 2019-02-20 19:37:54 +0100 |
| commit | 103ed0c347062967b8b5fe76a02f945da14aac72 (patch) | |
| tree | a892ff08d93fe13e84f11c2abc2bad77a8573ed0 /src/rustllvm/RustWrapper.cpp | |
| parent | f66e4697ae286985ddefc53c3a047614568458bb (diff) | |
| download | rust-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
