about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMarcus Buffett <marcusbuffett@me.com>2017-09-21 12:15:10 -0700
committerMarcus Buffett <marcusbuffett@me.com>2017-09-21 12:15:10 -0700
commit5463aa06b8d3f9dd02225924ff726a14af0878a6 (patch)
tree825074a8c9fc04126410a17cc1ba0559c4efc141 /src/rustllvm/RustWrapper.cpp
parent1b55d19479eabcb5d6cbda651187c7004aa28f7f (diff)
downloadrust-5463aa06b8d3f9dd02225924ff726a14af0878a6.tar.gz
rust-5463aa06b8d3f9dd02225924ff726a14af0878a6.zip
Catch IOError
If config.toml doesn't exist, then an IOError will be raised
on the `with open(...)` line. Prior to e788fa7, this was
caught because the `except` clause didn't specify what
exceptions it caught, so both IOError and OSError were
caught
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions