Pārlūkot izejas kodu

Disable empty intrinsics on i686-apple-darwin

These all currently just produce empty object files
Alex Crichton 7 gadi atpakaļ
vecāks
revīzija
1be538be1e
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      build.rs

+ 3 - 1
build.rs

@@ -4112,7 +4112,9 @@ mod c {
             ]);
         }
 
-        if target_os != "ios" {
+        // On iOS and 32-bit OSX these are all just empty intrinsics, no need to
+        // include them.
+        if target_os != "ios" && (target_vendor != "apple" || target_arch != "x86") {
             sources.extend(
                 &[
                     "absvti2.c",