diff options
| author | Doug Goldstein <cardoe@cardoe.com> | 2016-07-24 11:47:39 -0500 |
|---|---|---|
| committer | Doug Goldstein <cardoe@cardoe.com> | 2016-07-27 10:28:40 -0700 |
| commit | eafecbf86855c30d2f6d9c518165edec4cca8248 (patch) | |
| tree | 48779aee68809379f7d7ad285e21d57cb27750d1 /src/rustllvm/PassWrapper.cpp | |
| parent | c7b6ed27bcbe63906825d6e541a7a1f62bdd03c9 (diff) | |
| download | rust-eafecbf86855c30d2f6d9c518165edec4cca8248.tar.gz rust-eafecbf86855c30d2f6d9c518165edec4cca8248.zip | |
librustc_back: convert fn target() to return Result
Change all the target generation functions to return a Result<Target, String> so that targets that are unable to be instantiated can be expressed as an Err instead of a panic!(). This should improve #33497 as well.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
