about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@cardoe.com>2016-07-24 11:47:39 -0500
committerDoug Goldstein <cardoe@cardoe.com>2016-07-27 10:28:40 -0700
commiteafecbf86855c30d2f6d9c518165edec4cca8248 (patch)
tree48779aee68809379f7d7ad285e21d57cb27750d1 /src/rustllvm/PassWrapper.cpp
parentc7b6ed27bcbe63906825d6e541a7a1f62bdd03c9 (diff)
downloadrust-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