about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-22 05:01:41 +0000
committerbors <bors@rust-lang.org>2017-09-22 05:01:41 +0000
commit0962b8fe4ffc1face685bc1b04364f6a3f0ad1ea (patch)
tree3fb1730b1644f90dd5924608baf9e6418b3cb7aa /src/rustllvm/RustWrapper.cpp
parent17600c1ea77ad8709ea072ad1b258bf9398b9d38 (diff)
parent5463aa06b8d3f9dd02225924ff726a14af0878a6 (diff)
downloadrust-0962b8fe4ffc1face685bc1b04364f6a3f0ad1ea.tar.gz
rust-0962b8fe4ffc1face685bc1b04364f6a3f0ad1ea.zip
Auto merge of #44754 - marcusbuffett:bootstrap-config-toml-fix, r=alexcrichton
Catch IOError in bootstrap.py when loading config.toml

When I pulled this repo and tried to build using the command in the readme, I got an error about a missing `config.toml`.

If config.toml doesn't exist, then an `IOError` will be raised the `with open(...)` line. Prior to e788fa7b6cf07860eb0ff3e90ff32fc4f9d26cae, this was caught because the `except` clause didn't specify what exceptions it caught, so both `IOError` and `OSError` were caught.

First time contributing, so please let me know if I'm doing anything wrong.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions