File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ def build_triple(self):
355355 try :
356356 cputype = subprocess .check_output (['isainfo' ,
357357 '-k' ]).strip ().decode (default_encoding )
358- except (subprocess .CalledProcessError , WindowsError ):
358+ except (subprocess .CalledProcessError , OSError ):
359359 err = "isainfo not found"
360360 if self .verbose :
361361 raise Exception (err )
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ fn main() {
4646 } else if target. contains ( "dragonfly" ) || target. contains ( "bitrig" ) ||
4747 target. contains ( "netbsd" ) || target. contains ( "openbsd" ) {
4848 println ! ( "cargo:rustc-link-lib=pthread" ) ;
49- } else if target. contains ( "solaris" ) {
50- println ! ( "cargo:rustc-link-lib=gcc_s" ) ;
5149 } else if target. contains ( "apple-darwin" ) {
5250 println ! ( "cargo:rustc-link-lib=System" ) ;
5351 } else if target. contains ( "apple-ios" ) {
You can’t perform that action at this time.
0 commit comments