Explorar o código

target.contains -> target_os ==

Jorge Aparicio %!s(int64=8) %!d(string=hai) anos
pai
achega
f7bd48ee94
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      build.rs

+ 1 - 1
build.rs

@@ -221,7 +221,7 @@ fn main() {
                 sources.extend(&["x86_64/floatdidf.c", "x86_64/floatdisf.c", "x86_64/floatdixf.c"]);
             }
         } else {
-            if target_os != "freebsd" && !target.contains("netbsd") {
+            if target_os != "freebsd" && target_os != "netbsd" {
                 sources.extend(&["gcc_personality_v0.c"]);
             }