aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/rust.py
diff options
context:
space:
mode:
authorMatthew Brett <matthew.brett@gmail.com>2021-10-16 16:04:25 +0100
committerXavier Claessens <xclaesse@gmail.com>2021-10-16 12:41:02 -0400
commit67185565717fc768fb35bbf8605d040d816862fc (patch)
treec57ef490c9e2a9f2798a4649e13d979c6ec34587 /mesonbuild/compilers/rust.py
parentf52a5a7cd3f30645c1b746488ec921451545d9b6 (diff)
downloadmeson-67185565717fc768fb35bbf8605d040d816862fc.zip
meson-67185565717fc768fb35bbf8605d040d816862fc.tar.gz
meson-67185565717fc768fb35bbf8605d040d816862fc.tar.bz2
Add missing but expected as exception clause
The `except` line was missing its `as e` clause. As a result, when erroring out, after not finding a compiler, Meson gives an error ending: ``` File "C:\Users\Matthew\AppData\Roaming\Python\Python39\site-packages\mesonbuild\mesonlib\vsenv.py", line 100, in setup_vsenv mlog.warning('Failed to activate VS environment:', str(e)) ```
Diffstat (limited to 'mesonbuild/compilers/rust.py')
0 files changed, 0 insertions, 0 deletions