about summary refs log tree commit diff
path: root/src/bootstrap/bootstrap.py
diff options
context:
space:
mode:
authorShawn Walker-Salas <shawn.walker@oracle.com>2017-02-11 22:55:25 -0800
committerShawn Walker-Salas <shawn.walker@oracle.com>2017-02-11 22:56:23 -0800
commit4a618fee1efc279d8fe2386f3c74b7e3f3265aa8 (patch)
tree2963298375b01f6aed7537874846398608b5998b /src/bootstrap/bootstrap.py
parent33b655e6a8db00d099d1ef37c2f39f73b1248190 (diff)
downloadrust-4a618fee1efc279d8fe2386f3c74b7e3f3265aa8.tar.gz
rust-4a618fee1efc279d8fe2386f3c74b7e3f3265aa8.zip
fix exception handling for isainfo execution failure
remove unnecessary gcc_s addition in libstd for Solaris
Diffstat (limited to 'src/bootstrap/bootstrap.py')
-rw-r--r--src/bootstrap/bootstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/bootstrap.py b/src/bootstrap/bootstrap.py
index 7163a6f359c..a632a82bf7d 100644
--- a/src/bootstrap/bootstrap.py
+++ b/src/bootstrap/bootstrap.py
@@ -355,7 +355,7 @@ class RustBuild(object):
             try:
                 cputype = subprocess.check_output(['isainfo',
                   '-k']).strip().decode(default_encoding)
-            except (subprocess.CalledProcessError, WindowsError):
+            except (subprocess.CalledProcessError, OSError):
                 err = "isainfo not found"
                 if self.verbose:
                     raise Exception(err)